i tried if (event.getAction() == Action.RIGHT_CLICK_AIR) but that doens't work for me. Do you have other code that could work?
Thanks!
but then it works only if you select a block not if you point into the air
Hey, i try to make an event-listener which cancels the use of stacked instant damage potions. I just get to debug 1. this...
Hey, i've tried around with automatic updating a bit and everythink works, even the plugin gets enabled after it has been updated but it appears...
yeah wait. timolia is also one command the array above was just for demonstration purposes but this leads me to a new guess. let me check. thanks!
Hey, is it possible to register all Commands on startup via a loop instead of typing getCommand().setExecutor or in my case...
I would do something like this @EventHandler public void onPlayerJoin(PlayerJoinEvent event){ boolean teamRed = new...
Also look at this: http://forums.bukkit.org/threads/safeguarding-against-unchecked-and-potentially-damaging-plugins.116749/
Since the NBT-System has changed in 1.4.5-Recommended Build there is a new, much easier way to change the NBT-Data of an Item. I tried a bit...
How would you save the armor contents to with the nbt method? Is there something like p.getInventory().getArmorContents().toInventory?
How often would u check that and how? With a Scheduler Loop?
yeah thats bad. so you should find out min and max on enable i think and save them to a variable or something
i would do it like this: //need to store the arena coords somewhere... private int x1 = 0; private int x2 = 0; private int y1 = 0; private int...
Separate names with a comma.