Fixed an issue with conveyor belts failing to load from saves
This commit is contained in:
parent
28b6c601cd
commit
5d44e79e5b
1 changed files with 3 additions and 2 deletions
|
@ -209,6 +209,7 @@ public class TileConveyorBelt extends TileBase implements IEntityConveyor, IRota
|
||||||
slantType = BeltType.NORMAL;
|
slantType = BeltType.NORMAL;
|
||||||
}
|
}
|
||||||
this.slantType = slantType;
|
this.slantType = slantType;
|
||||||
this.worldObj.markBlockForUpdate(xCoord, yCoord, zCoord);
|
if (worldObj != null)
|
||||||
|
this.worldObj.markBlockForUpdate(xCoord, yCoord, zCoord);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue