line 3 : event.getWhoClicked() instanceof Player
Are you serious ? You put your method in your onDisable() !
A method doesn't start with a capital letter, it's a constructor and the constructors don't have return statement. And your constructor/method is...
Ok, I'm gonna rework my code :/
It's because the line tower.getLocation() comes from an enumeration and this enumeration depends from another enumeration so I can't post all this...
Here my three classes that are used in this code (I deleted the useless passages) : Core.java: [SPOILER] Tower.java: [SPOILER] I didn't...
Adding @Override doesn't works for me :/ EDIT: @Override is used to redefine a superclass method
I'm getting that : [SPOILER] To debug my program I made this in my main class : Bukkit.getScheduler().scheduleSyncRepeatingTask(this, new...
My hashMap is in a pattern decorator like this : public class ZoneManager { public Map<String, Location> zone = new HashMap<String,...
Yes in the chat, I'm getting : {} {colozz=Location//something} {colozz=Location//something} {colozz=Location//something} {}...
I have only one instance of my main class, I don't have new Main();
In my main class I have this : public ZoneManager zoneManager = new ZoneManager(); My bugged method : public void repeatingtTask(){...
Hi, I have a little problem with the bukkit scheduler; I have a HashMap<String, Location> named "zoneManager" and I put data inner. But I have a...
You would never have to use SuppressWarnings("Deprecation"), replace @EventHandler with : @EventHandler(priority = EventPriority.LOW) an replace...
andf54 that works, thanks :)
Separate names with a comma.