Want a better Minecraft server? Read about SpigotMC here!
Separate names with a comma.
Discussion in 'Spigot Plugin Development' started by poncethecat, May 20, 2015.
if(event.getMessage() == code)
The first line is useless.
The second line should use .equals () when comparing strings not ==
You shouldn't modify the players inventory asynchronously though.
Very true I forgot about that. And just to add to that you would schedule a delayed sync task without a delay to run something on the main thread.