public void onBlockPlace(BlockPlaceEvent event) { if(replaceMode(event.getPlayer())) event.setCancelled(true); }
You can use reflection to access protected CraftItemStack.item.d, and get\set it manualy... but it dirty hack
Logger.getLogger("Minecraft").info(Boolean.toString(new HashMap<Object, Object>().containsValue(null))); 2011-01-18 06:30:51 [INFO] false
I think hooks just not ready yet. I have: public void onEntityDamageByEntity(EntityDamageByEntityEvent event) { if(event.getEntity()...
Done. Damage\kill hook glitchy for now.
...ported. http://forums.bukkit.org/threads/skills.670/
Separate names with a comma.