This commit is contained in:
asiekierka 2014-12-01 12:57:33 +01:00
parent 1dc5a5bf5d
commit 38e5b837fe

View file

@ -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) {