Bandaid for more client chunk unload crashes >.>

This commit is contained in:
Vincent Lee committed 2016-01-18 11:45:07 -06:00
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()))