Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- @Override
- 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_)
- {
- if (!player.isSneaking())
- {
- world.setBlockToAir(x, y, z);
- }
- return false;
- }
Advertisement
Add Comment
Please, Sign In to add comment