Skip to content

Commit

Permalink
Fix issue for real
Browse files Browse the repository at this point in the history
  • Loading branch information
raoulvdberge committed May 16, 2016
1 parent ac3fec8 commit 804882a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/java/refinedstorage/tile/TileDestructor.java
Expand Up @@ -54,7 +54,7 @@ public void updateMachine() {
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());
}
}
Expand Down

0 comments on commit 804882a

Please sign in to comment.