Message "Check" is displayed but I receive a message about nullpointer exception in console in the line with if statement. Code is executed in...
I post here because i am literally confused by what happens when my code executes. Read comments in code please. I have snippets of code:...
it worked, thank you!
The solution was simple, I should initialize amount variable. So you can do it as protected int amount = 0;
I've been trying to execute this snippet of code: package quest; import org.bukkit.entity.Player; import org.bukkit.event.EventHandler; import...
Hello. I've been testing my code below, however it doesn't work. The problem indicates that plugin Couldn't pass event PlayerJoinEvent() to...
Separate names with a comma.