fixed condition for slot removal
This commit is contained in:
parent
8c16501ee5
commit
5fe74fe34b
1 changed files with 4 additions and 6 deletions
|
@ -239,20 +239,18 @@ public class BptBuilderBlueprint extends BptBuilderBase {
|
||||||
builtLocations.add(new BlockIndex(slot.x,
|
builtLocations.add(new BlockIndex(slot.x,
|
||||||
slot.y, slot.z));
|
slot.y, slot.z));
|
||||||
return slot;
|
return slot;
|
||||||
|
}
|
||||||
} else {
|
} else {
|
||||||
// the block is not soft anymore, we can't build
|
// the block is not soft anymore, we can't build
|
||||||
// here.
|
// here. Forget about it.
|
||||||
// forget about it.
|
|
||||||
iterator.remove();
|
iterator.remove();
|
||||||
}
|
}
|
||||||
}
|
|
||||||
} else {
|
} else {
|
||||||
iterator.remove();
|
iterator.remove();
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
iterator.remove();
|
iterator.remove();
|
||||||
}
|
}
|
||||||
|
|
||||||
} catch (Throwable t) {
|
} catch (Throwable t) {
|
||||||
// Defensive code against errors in implementers
|
// Defensive code against errors in implementers
|
||||||
t.printStackTrace();
|
t.printStackTrace();
|
||||||
|
|
Loading…
Reference in a new issue