Fixed blueprint softblock error

This commit is contained in:
CovertJaguar 2013-03-23 11:00:31 -07:00
parent e35e0f2240
commit a5d5d1a436

View file

@ -123,7 +123,7 @@ public class BptBuilderTemplate extends BptBuilderBase {
BptSlot slot = list.getFirst();
// Note from CJ: I have no idea what this code is supposed to do, so I'm not touching it.
if (BuildCraftAPI.softBlock(slot.blockId) == BuildCraftAPI.softBlock(world.getBlockId(slot.x, slot.y, slot.z))) {
if (slot.blockId == world.getBlockId(slot.x, slot.y, slot.z)) {
list.removeFirst();
} else if (slot.mode == Mode.ClearIfInvalid) {
result = slot;