Anotehr hoepful bandaid for all the clientside crashes

This commit is contained in:
Vincent Lee committed 2016-01-21 21:23:23 -06:00
1 parent 2a077adb6f
commit 071bcefa6f
1 file changed
+1 -1
@@ -206,7 +206,7 @@ public class SubTileFunctional extends SubTileEntity {
}
public boolean isValidBinding() {
return linkedPool != null && !linkedPool.isInvalid() && supertile.getWorld().getTileEntity(linkedPool.getPos()) == linkedPool;
return supertile.getWorld().isBlockLoaded(linkedPool.getPos(), false) && linkedPool != null && !linkedPool.isInvalid() && supertile.getWorld().getTileEntity(linkedPool.getPos()) == linkedPool;
}
@Override