Fix tag set
This commit is contained in:
@@ -156,9 +156,9 @@ public abstract class NBTStorage implements IStorage {
|
||||
|
||||
return ItemHandlerHelper.copyStackWithSize(stack, size - remainingSpace);
|
||||
} else {
|
||||
tag.setInteger(NBT_STORED, getStored() + size);
|
||||
|
||||
if (!simulate) {
|
||||
tag.setInteger(NBT_STORED, getStored() + size);
|
||||
|
||||
stacks.add(ItemHandlerHelper.copyStackWithSize(stack, size));
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user