Are you just trying to prevent them from placing sponges?
My suggestion won't give you an NPE? You can use the class in different places without it being final, final just means the map is immutable....
Something like this? public boolean Create(Command sender, Command cmd, String[] args) { //This map is just for illustration. //It should...
Why are you storing an ArrayList of the sponge (which is always a sponge). Are you sure you just want to keep a list of only the sponge's they...
Sure. Or just check out my code. It should accomplish the same objective in a much lighter and easier way.
Your plugin will go out of scope during a reload and you will lose the data in your HashMap. You need to save (persist) the map during onDisable()
Cant fully recall now, but I think it was with: // Copy item meta map so we can edit it (Map<String, Object> meta is IMMUTABLE)...
Not sure if there is something already out there, but I am prepping up a beta release for this week of a zone reset plugin that does this (and a...
Through careful planning and precision placement.
This would be cool for http://dev.bukkit.org/server-mods/itemrules/ if you fancy. Its a bit more on the complicated side, so a configurator would...
I couldn't get this to go... at least not with enchantments so I rewrote a new class that so far seems to tick all the boxes I have tried it...
FTFY. Manners rule.
Separate names with a comma.