Make the reconstructor not spawn empty itemstacks into the world

This commit is contained in:
Ellpeck 2016-11-03 10:01:25 +01:00
parent db5c3863a8
commit 0c696d96db

View file

@ -189,7 +189,7 @@ public class MethodHandler implements IMethodHandler{
if(itemsPossible > 0){ if(itemsPossible > 0){
item.setDead(); item.setDead();
if(stack.stackSize > 0){ if(stack.stackSize-itemsPossible > 0){
ItemStack stackCopy = stack.copy(); ItemStack stackCopy = stack.copy();
stackCopy.stackSize-=itemsPossible; stackCopy.stackSize-=itemsPossible;