mirror of
https://github.com/GTNewHorizons/StorageDrawers.git
synced 2026-11-22 21:19:54 +00:00
Fix derp server load crash
This commit is contained in:
1 parent
bbad2a9a81
commit
d24904d206
2 files changed
+3
-2
No files matched your search
@@ -394,7 +394,8 @@ public class BlockDrawers extends BlockContainer implements IExtendedBlockClickH
|
||||
public boolean rotateBlock (World world, int x, int y, int z, ForgeDirection axis) {
|
||||
TileEntityDrawers tile = getTileEntitySafe(world, x, y, z);
|
||||
if (tile.isSealed()) {
|
||||
harvestBlock(world, Minecraft.getMinecraft().thePlayer, x, y, z, world.getBlockMetadata(x, y, z));
|
||||
dropBlockAsItem(world, x, y, z, world.getBlockMetadata(x, y, z), 0);
|
||||
world.setBlockToAir(x, y, z);
|
||||
return true;
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user