mirror of
https://github.com/GTNewHorizons/StorageDrawers.git
synced 2026-11-12 16:37:28 +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
+1
-1
@@ -17,7 +17,7 @@ buildscript {
|
||||
|
||||
apply plugin: 'forge'
|
||||
|
||||
version = "1.7.10-1.6.4"
|
||||
version = "1.7.10-1.7.1"
|
||||
group= "com.jaquadro.minecraft.storagedrawers" // http://maven.apache.org/guides/mini/guide-naming-conventions.html
|
||||
archivesBaseName = "StorageDrawers"
|
||||
|
||||
|
||||
@@ -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