Fix simulate check

This commit is contained in:
Raoul Van den Berge
2016-06-05 20:07:20 +02:00
parent ad012d253b
commit 013303bb07

View File

@@ -145,7 +145,9 @@ public abstract class NBTStorage implements IStorage {
} else {
tag.setInteger(NBT_STORED, getStored() + stack.stackSize);
stacks.add(stack.copy());
if (!simulate) {
stacks.add(stack.copy());
}
return null;
}