Fixed #935
This commit is contained in:
parent
903661501e
commit
c3101d6f04
1 changed files with 2 additions and 2 deletions
|
@ -1558,7 +1558,7 @@ public class GT_Utility {
|
||||||
|
|
||||||
try {
|
try {
|
||||||
ChunkPosition tPos = new ChunkPosition(getScaleCoordinates(aX,16), aWorld.provider.dimensionId, getScaleCoordinates(aZ,16));
|
ChunkPosition tPos = new ChunkPosition(getScaleCoordinates(aX,16), aWorld.provider.dimensionId, getScaleCoordinates(aZ,16));
|
||||||
int[] tInts = new int[2];
|
int[] tInts = new int[3];
|
||||||
if(GT_Proxy.chunkData.containsKey(tPos)){
|
if(GT_Proxy.chunkData.containsKey(tPos)){
|
||||||
tInts = GT_Proxy.chunkData.get(tPos);
|
tInts = GT_Proxy.chunkData.get(tPos);
|
||||||
if(tInts.length>0){
|
if(tInts.length>0){
|
||||||
|
@ -1581,7 +1581,7 @@ public class GT_Utility {
|
||||||
tInts[2] = tFluidId;
|
tInts[2] = tFluidId;
|
||||||
GT_Proxy.chunkData.put(tPos, tInts);
|
GT_Proxy.chunkData.put(tPos, tInts);
|
||||||
} catch (Exception e) {
|
} catch (Exception e) {
|
||||||
System.out.println("[GT] getUndergroundOil() - Error put data");
|
System.out.println("getUndergroundOil() - Error put data");
|
||||||
}
|
}
|
||||||
if (tFluid!=null)
|
if (tFluid!=null)
|
||||||
return new FluidStack(tFluid, tAmount);
|
return new FluidStack(tFluid, tAmount);
|
||||||
|
|
Loading…
Reference in a new issue