From 0c696d96db617b0ff732b86e26071ed2805ecb36 Mon Sep 17 00:00:00 2001 From: Ellpeck Date: Thu, 3 Nov 2016 10:01:25 +0100 Subject: [PATCH] Make the reconstructor not spawn empty itemstacks into the world --- .../de/ellpeck/actuallyadditions/mod/misc/MethodHandler.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/de/ellpeck/actuallyadditions/mod/misc/MethodHandler.java b/src/main/java/de/ellpeck/actuallyadditions/mod/misc/MethodHandler.java index f0337f192..aac8e59b7 100644 --- a/src/main/java/de/ellpeck/actuallyadditions/mod/misc/MethodHandler.java +++ b/src/main/java/de/ellpeck/actuallyadditions/mod/misc/MethodHandler.java @@ -189,7 +189,7 @@ public class MethodHandler implements IMethodHandler{ if(itemsPossible > 0){ item.setDead(); - if(stack.stackSize > 0){ + if(stack.stackSize-itemsPossible > 0){ ItemStack stackCopy = stack.copy(); stackCopy.stackSize-=itemsPossible;