mirror of
https://github.com/Thorfusion/Mekanism-Community-Edition.git
synced 2026-11-26 23:03:01 +00:00
stackTagCompound -> getTagCompound()
This commit is contained in:
1 parent
9b2dbcbe3e
commit
4ef5840ff9
38 files changed
+300
-300
No files matched your search
@@ -285,14 +285,14 @@ public class TileEntityFactory extends TileEntityNoisyElectricBlock implements I
|
||||
|
||||
ItemStack returnStack = getMachineStack();
|
||||
|
||||
if(returnStack.stackTagCompound == null)
|
||||
if(returnStack.getTagCompound() == null)
|
||||
{
|
||||
returnStack.setTagCompound(new NBTTagCompound());
|
||||
}
|
||||
|
||||
upgradeComponent.write(returnStack.stackTagCompound);
|
||||
upgradeComponent.write(returnStack.getTagCompound());
|
||||
upgradeComponent.setSupported(Upgrade.GAS, toSet.fuelEnergyUpgrades());
|
||||
upgradeComponent.read(inventory[2].stackTagCompound);
|
||||
upgradeComponent.read(inventory[2].getTagCompound());
|
||||
|
||||
inventory[2] = null;
|
||||
inventory[3] = returnStack;
|
||||
|
||||
Reference in new issue
Block a user