Null check... Closes #870

This commit is contained in:
Lizbeth Rika committed 2015-05-02 17:21:01 +01:00
1 parent 97887fae3b
commit 29cb302cd4
3 files changed
+3 -3

No files matched your search

@@ -105,7 +105,7 @@ public class SubTileFunctional extends SubTileEntity {
}
}
if(!needsNew) {
if(!needsNew && linkedPool != null) {
TileEntity tileAt = supertile.getWorldObj().getTileEntity(linkedPool.xCoord, linkedPool.yCoord, linkedPool.zCoord);
if(!(tileAt instanceof IManaPool)) {
linkedPool = null;