diff options
| author | Technus <daniel112092@gmail.com> | 2017-09-30 21:38:14 +0200 |
|---|---|---|
| committer | Technus <daniel112092@gmail.com> | 2017-09-30 21:38:14 +0200 |
| commit | 9cf3e5d98c6ac36abfffaa78df38d5ebb45c6d3c (patch) | |
| tree | 8f2d4f79f153dd2c9ee3c55c85727e8dda54ec91 /src/main/java/com | |
| parent | 8062949caa77dbbbd935fda1bb15fb9ad4da6ed0 (diff) | |
| download | GT5-Unofficial-9cf3e5d98c6ac36abfffaa78df38d5ebb45c6d3c.tar.gz GT5-Unofficial-9cf3e5d98c6ac36abfffaa78df38d5ebb45c6d3c.tar.bz2 GT5-Unofficial-9cf3e5d98c6ac36abfffaa78df38d5ebb45c6d3c.zip | |
update gt5u
Diffstat (limited to 'src/main/java/com')
| -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; } |
