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,7 +43,8 @@ public class TileMotor extends TileElectrical implements IRotatable, INodeProvid
public void initiate() public void initiate()
{ {
super.initiate(); super.initiate();
node.reconstruct(); if (node != null)
node.reconstruct();
} }
@Override @Override