Fixed NPE in generator

This commit is contained in:
Robert S 2014-04-13 23:17:43 -04:00
parent 714c3ec2a2
commit 3d1cf14e8e

View file

@ -43,6 +43,7 @@ public class TileMotor extends TileElectrical implements IRotatable, INodeProvid
public void initiate() public void initiate()
{ {
super.initiate(); super.initiate();
if (node != null)
node.reconstruct(); node.reconstruct();
} }