diff --git a/build.gradle b/build.gradle index 21b0b016f..854f0b599 100644 --- a/build.gradle +++ b/build.gradle @@ -17,7 +17,7 @@ buildscript { apply plugin: 'forge' -version = "1.7.10-1.4.2" +version = "1.7.10-1.4.3" group= "com.jaquadro.minecraft.storagedrawers" // http://maven.apache.org/guides/mini/guide-naming-conventions.html archivesBaseName = "StorageDrawers" diff --git a/src/com/jaquadro/minecraft/storagedrawers/block/BlockController.java b/src/com/jaquadro/minecraft/storagedrawers/block/BlockController.java index cdd390599..dfba4017c 100644 --- a/src/com/jaquadro/minecraft/storagedrawers/block/BlockController.java +++ b/src/com/jaquadro/minecraft/storagedrawers/block/BlockController.java @@ -118,6 +118,8 @@ public boolean onBlockActivated (World world, int x, int y, int z, EntityPlayer @Override public boolean isSideSolid (IBlockAccess world, int x, int y, int z, ForgeDirection side) { + if (getTileEntity(world, x, y, z) == null) + return true; if (side.ordinal() != getTileEntity(world, x, y, z).getDirection()) return true;