Fix issue for real

This commit is contained in:
Raoul Van den Berge
2016-05-16 23:25:26 +02:00
parent ac3fec8039
commit 804882abe9

View File

@@ -54,7 +54,7 @@ public class TileDestructor extends TileMachine implements ICompareConfig, IMode
worldObj.setBlockToAir(front);
for (ItemStack drop : drops) {
if (!controller.push(drop)) {
if (controller != null && !controller.push(drop)) {
RefinedStorageUtils.dropStack(worldObj, drop, front.getX(), front.getY(), front.getZ());
}
}