mirror of
https://github.com/GTNewHorizons/Botania.git
synced 2026-11-18 19:29:31 +00:00
Null check... Closes #870
This commit is contained in:
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;
|
||||
|
||||
Reference in new issue
Block a user