mirror of
https://github.com/GTNewHorizons/TinkersConstruct.git
synced 2026-11-19 11:59:14 +00:00
fixed several tools
This commit is contained in:
1 parent
3d5cdf6ee6
commit
d914004bde
27 files changed
+86
-85
No files matched your search
@@ -505,7 +505,7 @@ public class TankLayerScan extends LogicComponent
|
||||
for (int i = 0; i < layerAir.tagCount(); ++i)
|
||||
{
|
||||
NBTTagIntArray tag = (NBTTagIntArray) layerAir.tagAt(i);
|
||||
int[] coord = tag.intArray;
|
||||
int[] coord = tag.func_150302_c();
|
||||
layerAirCoords.add(new CoordTuple(coord[0], coord[1], coord[2]));
|
||||
}
|
||||
}
|
||||
@@ -518,7 +518,7 @@ public class TankLayerScan extends LogicComponent
|
||||
for (int i = 0; i < blocks.tagCount(); ++i)
|
||||
{
|
||||
NBTTagIntArray tag = (NBTTagIntArray) blocks.tagAt(i);
|
||||
int[] coord = tag.intArray;
|
||||
int[] coord = tag.func_150302_c();
|
||||
blockCoords.add(new CoordTuple(coord[0], coord[1], coord[2]));
|
||||
}
|
||||
}
|
||||
@@ -531,7 +531,7 @@ public class TankLayerScan extends LogicComponent
|
||||
for (int i = 0; i < air.tagCount(); ++i)
|
||||
{
|
||||
NBTTagIntArray tag = (NBTTagIntArray) air.tagAt(i);
|
||||
int[] coord = tag.intArray;
|
||||
int[] coord = tag.func_150302_c();
|
||||
airCoords.add(new CoordTuple(coord[0], coord[1], coord[2]));
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user