Guest User

Untitled

a guest
Nov 20th, 2015
191
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.28 KB | None | 0 0
  1. @Override
  2. public boolean onBlockActivated(World world, int x, int y, int z, EntityPlayer player, int p_149727_6_, float p_149727_7_, float p_149727_8_, float p_149727_9_)
  3. {
  4. if (!player.isSneaking())
  5. {
  6. world.setBlockToAir(x, y, z);
  7. }
  8. return false;
  9. }
Advertisement
Add Comment
Please, Sign In to add comment