diff options
author | Technus <daniel112092@gmail.com> | 2017-09-30 21:38:14 +0200 |
---|---|---|
committer | Technus <daniel112092@gmail.com> | 2017-10-08 09:36:08 +0200 |
commit | 621a8c21271056182a95b75a3d6e883a6d9b4a36 (patch) | |
tree | f3cf1e6aca6c125d1203c52335e8b2d0f98ea84c /src | |
parent | e9b9841481c94606c786c4e911edfb6d42cdee4f (diff) | |
download | GT5-Unofficial-621a8c21271056182a95b75a3d6e883a6d9b4a36.tar.gz GT5-Unofficial-621a8c21271056182a95b75a3d6e883a6d9b4a36.tar.bz2 GT5-Unofficial-621a8c21271056182a95b75a3d6e883a6d9b4a36.zip |
update gt5u
Diffstat (limited to 'src')
-rw-r--r-- | src/main/java/com/github/technus/tectech/thing/metaTileEntity/multi/GT_MetaTileEntity_MultiblockBase_EM.java | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/src/main/java/com/github/technus/tectech/thing/metaTileEntity/multi/GT_MetaTileEntity_MultiblockBase_EM.java b/src/main/java/com/github/technus/tectech/thing/metaTileEntity/multi/GT_MetaTileEntity_MultiblockBase_EM.java index 2c99e1a5d9..7526063046 100644 --- a/src/main/java/com/github/technus/tectech/thing/metaTileEntity/multi/GT_MetaTileEntity_MultiblockBase_EM.java +++ b/src/main/java/com/github/technus/tectech/thing/metaTileEntity/multi/GT_MetaTileEntity_MultiblockBase_EM.java @@ -205,10 +205,7 @@ public abstract class GT_MetaTileEntity_MultiblockBase_EM extends GT_MetaTileEnt protected boolean areChunksAroundLoaded_EM(){ if(isValidMetaTileEntity(this) && getBaseMetaTileEntity().isServerSide()){ IGregTechTileEntity base=getBaseMetaTileEntity(); - final int x=base.getXCoord(); - final int y=base.getYCoord(); - final int z=base.getZCoord(); - return base.getWorld().checkChunksExist(x-48,y-48,z-48,x+48,y+48,z+48); + return base.getWorld().doChunksNearChunkExist(base.getXCoord(),base.getYCoord(),base.getZCoord(),3); //todo check if it is actually checking if chunks are loaded }else return false; } |