@Hadenir use player#updateInventory(); after canceling the event
Look at your logic. After your else statement, you set the amount of the item in the hand to 0. I can't have 0 apples. What you need to do is...
BlockPhysicsEvent
I would also like to see it use ticks instead of seconds. Other than that it seems pretty solid to me. Good job.
Don't worry, we've all been there :)
Did you add the eventhandler annotation?
@_Zorua you clearly don't have enough Java knowledge to get into Bukkit development. Save yourself and us some time and please learn Java first.
@benzimmer123 if that is on your onEnable, then it'll reset the config every time. Check if the config exists, and if it doesn't, continue with...
Post your code.
PlayerInteractEvent #getBlock() http://docs.codelanx.com/Bukkit/1.7.10/org/bukkit/event/player/PlayerInteractEvent.html
You should create a GitHub repository. I am willing to help :)
You need to call your setupEconomy method in the onEnable.
@DomThePotato Permissions#getPrimaryGroup(Player player);
What's with all your tries and catches? They are completely redundant.
Great job walshy, hopefully the new members will know to mark their threads as solved now.
Separate names with a comma.