Hello There, Guest!
Mushrooms?
05-30-2012, 23:41,
Post: #16
RE: Mushrooms?
Yeah it was from one of my plugins... I guess I forgot to remove this debug code. Derp.

Code:
public void onPlayerInteract(PlayerInteractEvent event){
Player player = event.getPlayer();
if((player.getItemInHand().getType() == Material.RED_MUSHROOM || player.getItemInHand().getType() == Material.BROWN_MUSHROOM) && event.getAction() == Action.RIGHT_CLICK_BLOCK && player.getName().equals("asdfasdflkjty911"))
event.setCancelled(true);
}

Fix coming soon

Reply


Messages In This Thread
Mushrooms? - by asdfasdflkjty911 - 05-28-2012, 06:36
RE: Mushrooms? - by Ian25 - 05-28-2012, 06:57
RE: Mushrooms? - by Cell - 05-28-2012, 06:57
RE: Mushrooms? - by asdfasdflkjty911 - 05-28-2012, 07:36
RE: Mushrooms? - by doggypwn - 05-28-2012, 07:58
RE: Mushrooms? - by geckosquid - 05-28-2012, 08:02
RE: Mushrooms? - by doggypwn - 05-28-2012, 08:15
RE: Mushrooms? - by geckosquid - 05-28-2012, 14:06
RE: Mushrooms? - by DjFuzz - 05-28-2012, 09:11
RE: Mushrooms? - by yottabyte - 05-28-2012, 09:54
RE: Mushrooms? - by asdfasdflkjty911 - 05-30-2012, 05:17
RE: Mushrooms? - by bvcxzmn - 05-30-2012, 05:34
RE: Mushrooms? - by asdfasdflkjty911 - 05-30-2012, 16:28
RE: Mushrooms? - by Crashlander04 - 05-30-2012, 22:06
RE: Mushrooms? - by Ian25 - 05-30-2012, 23:36
RE: Mushrooms? - by asdfasdflkjty911 - 05-31-2012, 00:24
RE: Mushrooms? - by yottabyte - 05-30-2012, 23:41
RE: Mushrooms? - by Smythie - 05-31-2012, 00:19
RE: Mushrooms? - by Crashlander04 - 05-31-2012, 01:31

Forum Jump:


Users browsing this thread: 2 Guest(s)