fix #2256
This commit is contained in:
parent
1dc5a5bf5d
commit
38e5b837fe
1 changed files with 8 additions and 4 deletions
|
@ -97,10 +97,14 @@ public class TileConstructionMarker extends TileBuildCraft implements IBuildingI
|
||||||
if (itemBlueprint != null && ItemBlueprint.getId(itemBlueprint) != null && bluePrintBuilder == null) {
|
if (itemBlueprint != null && ItemBlueprint.getId(itemBlueprint) != null && bluePrintBuilder == null) {
|
||||||
BlueprintBase bpt = BlueprintBase.instantiate(itemBlueprint, worldObj, xCoord, yCoord, zCoord, direction);
|
BlueprintBase bpt = BlueprintBase.instantiate(itemBlueprint, worldObj, xCoord, yCoord, zCoord, direction);
|
||||||
|
|
||||||
bluePrintBuilder = new BptBuilderBlueprint((Blueprint) bpt, worldObj, xCoord, yCoord, zCoord);
|
if (bpt instanceof Blueprint) {
|
||||||
bptContext = bluePrintBuilder.getContext();
|
bluePrintBuilder = new BptBuilderBlueprint((Blueprint) bpt, worldObj, xCoord, yCoord, zCoord);
|
||||||
box.initialize(bluePrintBuilder);
|
bptContext = bluePrintBuilder.getContext();
|
||||||
sendNetworkUpdate();
|
box.initialize(bluePrintBuilder);
|
||||||
|
sendNetworkUpdate();
|
||||||
|
} else {
|
||||||
|
return;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if (laser == null && direction != ForgeDirection.UNKNOWN) {
|
if (laser == null && direction != ForgeDirection.UNKNOWN) {
|
||||||
|
|
Loading…
Reference in a new issue