I did some thinking and realized that the intended behavior would probably be allowing the placement of a blank blueprint without anything happening. That is the same behavior of the builder has I think it should be the same.
This commit is contained in:
ninehous 2014-07-31 19:31:38 +03:00
parent 23e841f323
commit ecc4cc0459

View file

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