mirror of
https://github.com/GTNewHorizons/TinkersConstruct.git
synced 2026-11-22 05:02:39 +00:00
All this needs to be tested, but here :P
This commit is contained in:
1 parent
0f9cca02f1
commit
e0a254fd3f
28 files changed
+149
-100
No files matched your search
@@ -3,6 +3,7 @@ package tconstruct.blocks.component;
|
||||
import java.util.ArrayList;
|
||||
|
||||
import mantle.world.CoordTuple;
|
||||
import net.minecraft.block.Block;
|
||||
import net.minecraft.init.Blocks;
|
||||
import net.minecraft.item.ItemStack;
|
||||
import net.minecraft.nbt.NBTTagCompound;
|
||||
@@ -278,4 +279,4 @@ public class SmelteryComponent extends LogicComponent
|
||||
if (activeLavaTank != null)
|
||||
tags.setIntArray("LavaTank", new int[] { activeLavaTank.x, activeLavaTank.y, activeLavaTank.z });
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -128,7 +128,7 @@ public class SmelteryScan extends TankLayerScan
|
||||
{
|
||||
super.readNetworkNBT(tags);
|
||||
|
||||
NBTTagList tanks = tags.getTagList("Tanks", 11);
|
||||
NBTTagList tanks = tags.getTagList("Tanks", 9);
|
||||
if (tanks != null)
|
||||
{
|
||||
lavaTanks.clear();
|
||||
|
||||
@@ -20,4 +20,4 @@ public class TankAirComponent extends MultiFluidTank
|
||||
{
|
||||
fluidlist = fluids;
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user