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

@@ -98,7 +98,7 @@ public class SubTileGenerating extends SubTileEntity {
}
}
if(!needsNew) {
if(!needsNew && linkedCollector != null) {
TileEntity tileAt = supertile.getWorldObj().getTileEntity(linkedCollector.xCoord, linkedCollector.yCoord, linkedCollector.zCoord);
if(!(tileAt instanceof IManaCollector)) {
linkedCollector = null;