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,
|
||||
slot.y, slot.z));
|
||||
return slot;
|
||||
}
|
||||
} else {
|
||||
// the block is not soft anymore, we can't build
|
||||
// here.
|
||||
// forget about it.
|
||||
// here. Forget about it.
|
||||
iterator.remove();
|
||||
}
|
||||
}
|
||||
} else {
|
||||
iterator.remove();
|
||||
}
|
||||
} else {
|
||||
iterator.remove();
|
||||
}
|
||||
|
||||
} catch (Throwable t) {
|
||||
// Defensive code against errors in implementers
|
||||
t.printStackTrace();
|
||||
|
|
Loading…
Reference in a new issue