Fixed NPE in generator
This commit is contained in:
parent
714c3ec2a2
commit
3d1cf14e8e
1 changed files with 2 additions and 1 deletions
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue