Merge pull request #1960 from ninehous/patch-1

Fixes #1956
This commit is contained in:
SpaceToad 2014-07-31 21:02:45 +02:00
commit 4e62297ab8

View file

@ -85,7 +85,7 @@ public class TileConstructionMarker extends TileBuildCraft implements IBuildingI
return; return;
} }
if (itemBlueprint != null && bluePrintBuilder == null) { if (itemBlueprint != null && ItemBlueprint.getId(itemBlueprint) != null && bluePrintBuilder == null) {
bluePrintBuilder = new BptBuilderBlueprint((Blueprint) ItemBlueprint.loadBlueprint(itemBlueprint), bluePrintBuilder = new BptBuilderBlueprint((Blueprint) ItemBlueprint.loadBlueprint(itemBlueprint),
worldObj, xCoord, yCoord, zCoord); worldObj, xCoord, yCoord, zCoord);
bptContext = bluePrintBuilder.getContext(); bptContext = bluePrintBuilder.getContext();