Fix #1180 Punching Greenhouse Glass crash

This commit is contained in:
Nedelosk committed 2016-05-15 23:55:14 +02:00
1 parent 2ec6601383
commit 5188b5a3f6
1 file changed
+3
@@ -59,6 +59,9 @@ public class CamouflageUtil {
}
public static ICamouflageHandler getCamouflageHandler(IBlockAccess world, BlockPos pos){
if(pos == null){
return null;
}
TileEntity tile = world.getTileEntity(pos);
if(tile instanceof IMultiblockComponent){