Merge pull request #127 from thraaawn/mc1.9.4

Fixed grid searching controller over null blocks
This commit is contained in:
Raoul
2016-06-19 12:55:55 +02:00
committed by GitHub

View File

@@ -81,7 +81,7 @@ public abstract class TileMachine extends TileBase implements ISynchronizedConta
} }
public void onConnected(World world, TileController controller) { public void onConnected(World world, TileController controller) {
if (tryConnect(controller)) { if (tryConnect(controller) && block != null) {
world.notifyNeighborsOfStateChange(pos, block); world.notifyNeighborsOfStateChange(pos, block);
} }
} }