You where saying something about using a for loop instead of a variable? If so, how would I do that?
onEnable: public void onEnable(){ registerEvents(); registerCommands(); }
For some reason it doesn't do anything? Do you know what the problem is? Code: public void run(){ Player p = (Player)...
So I use this? @Override public void run(){ // if stuff } And will it increase server lag if I use this method?
IK. I want the if to run when the player is HOLDING the item. Not changes slots from it.
I would like the if statement to run when a player is holding the item. But I have no clue which event I use for it.
Ok, but what event do I use? Ive tried PlayerItemHeldEvent and PlayerInteractEvent.
I don't want to check if its a certain item. I just want to check the lore.
Hello, I am trying to make a pickaxe which gives you speed without using an attribute. @EventHandler public void...
Head turns. Body doesn't. Same problem.
No. I will not release all the code I have created for people to copy and paste. The code will not be released. Since this thread has gotten me...
Same error.
Still errors. And I have also tried entity.setLocation(-556.5, 4, 588, 90F, 0F);
npc.getEntity().getHandle() does not exist.
Error in console: [20:41:52 ERROR]: null org.bukkit.command.CommandException: Unhandled exception executing command 'randomloc' in plugin GUIShop...
Separate names with a comma.