mirror of
https://github.com/GTNewHorizons/Botania.git
synced 2026-11-18 03:15:07 +00:00
Bandaid for more client chunk unload crashes >.>
This commit is contained in:
1 parent
e184394f55
commit
177f50ca61
1 file changed
+1
-1
@@ -181,7 +181,7 @@ public class TileSpreader extends TileSimpleInventory implements IManaCollector,
|
||||
|
||||
for(EnumFacing dir : EnumFacing.VALUES) {
|
||||
TileEntity tileAt = worldObj.getTileEntity(pos.offset(dir));
|
||||
if(tileAt instanceof IManaPool) {
|
||||
if(worldObj.isBlockLoaded(pos.offset(dir), false) && tileAt instanceof IManaPool) {
|
||||
IManaPool pool = (IManaPool) tileAt;
|
||||
if(wasInNetwork && (pool != receiver || isRedstone())) {
|
||||
if(pool instanceof IKeyLocked && !((IKeyLocked) pool).getOutputKey().equals(getInputKey()))
|
||||
|
||||
Reference in new issue
Block a user