NetworkHandler.sendToAllAround(new PacketPlaySound(Sounds.PNEUMATIC_WRENCH, x, y, z, 1.0F, 1.0F, false), world);
return true;
}
} else if(block != null) {
//rotating normal blocks doesn't cost energy.
if(block.rotateBlock(world, x, y, z, ForgeDirection.getOrientation(side))) {
NetworkHandler.sendToAllAround(new PacketPlaySound(Sounds.PNEUMATIC_WRENCH, x, y, z, 1.0F, 1.0F, false), world);
return true;
}
}
return false;