mirror of
https://github.com/HbmMods/Hbm-s-Nuclear-Tech-GIT.git
synced 2026-01-25 10:32:49 +00:00
NBT consistency for crates opened from inventory
This commit is contained in:
parent
c19e867bfd
commit
c9110aaa33
@ -154,6 +154,10 @@ public class ItemBlockStorageCrate extends ItemBlockBase implements IGUIProvider
|
||||
nbt.setTag("slot" + i, slot);
|
||||
}
|
||||
|
||||
if (nbt.hasNoTags()) {
|
||||
nbt = null;
|
||||
}
|
||||
|
||||
target.setTagCompound(nbt);
|
||||
}
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user