Use immutable (unchangeable) objects as HashMap keys (UUID is the best choice here).
Also, check if the HashMap contains the player....
Can you paste the full method you wrote?
Invoking any method on a null reference will throw a nullpointer exception. It's better to check if(item...
I took me a while but I finally finished your plugin.
You can find the download link and information here:...
Oke, thanks for your help! I'll try to do something with that :).
I have 2 suggestions:
1) Iterate over the array and add every Enum.toString() followed by a "," to a normal string. You can save that string...
Thanks for the help, WorldGuard is indeed one of the plugins it should work with. But what I actually want is a way to check if a player is able...
How can I check whether a player can edit a block or not, depended on plot/region/claim/...? (Break/place)
Thanks in advance,
I'm trying to make something.
I'll keep you up to date.
It's almost done.
I said that I would make it once my holiday vacation started because I had to study for exams and I had promised to make 2 other plugins....
Thank you for mentioning it! I think I'll use that future.
Is it possible to get the material of the brush and the mask of an item a player is currently holding?
I already looked up for other...
Oke. Do you know how I can import the brush type etc. from the worldedit API? Right now, I'm indeed adding each command and checking for each...
I gave it a try in a short break.
I couldn't figure out a way to let /brush listen to 2 commandexecutors. (I never used a duplicated commandname...
Separate names with a comma.