Constructor undefined

Discussion in 'Plugin Development' started by Pezah, Jan 4, 2014.

Thread Status:
Not open for further replies.
  1. Offline

    Pezah

    It's saying this constructor is undefined, hulp pls;

    Code:java
    1. clans.put(clanName, new Clan(clanName, 3, "", false, System.currentTimeMillis()));
    2. ---
    3. public Clan(String clanName, int power, String home, boolean admin,
    4. long systime)
    5. {
    6. this.clanName = clanName;
    7. this.power = power;
    8. this.home = home;
    9. this.admin = admin;
    10. this.systime = systime;
    11. }
    12.  
    13. public String clanName = "";
    14. public String home = "";
    15. public int power = 0;
    16. public boolean admin = false;
    17. public long systime;
    18.  
     
  2. Offline

    RawCode

    what about posting error?
     
  3. Offline

    Pezah

    LOL, all I had to do was close the class to update to code, gg, fixed.
     
Thread Status:
Not open for further replies.

Share This Page