diff --git a/parts/automation/UpgradeInventory.java b/parts/automation/UpgradeInventory.java index 69e960da0..bd2d29172 100644 --- a/parts/automation/UpgradeInventory.java +++ b/parts/automation/UpgradeInventory.java @@ -3,6 +3,7 @@ package appeng.parts.automation; import net.minecraft.inventory.IInventory; import net.minecraft.item.Item; import net.minecraft.item.ItemStack; +import net.minecraft.nbt.NBTTagCompound; import appeng.api.config.Upgrades; import appeng.api.implementations.IUpgradeModule; import appeng.tile.inventory.AppEngInternalInventory; @@ -112,6 +113,13 @@ public class UpgradeInventory extends AppEngInternalInventory implements IAEAppE } } + @Override + public void readFromNBT(NBTTagCompound target) + { + super.readFromNBT( target ); + updateUpgradeInfo(); + } + @Override public void onChangeInventory(IInventory inv, int slot, InvOperation mc, ItemStack removedStack, ItemStack newStack) {