ProcessBlockDirectivesEventHandler contains two embedded loops. A bug?
athrane opened this issue ยท 0 comments
Loop 1:
// process directives
for (int i = 0; i < BLOCKS_PER_TICK; i++) {
processDirective(event.world);
}
Loop 2:
static void processDirective(World world) throws Exception {
try {
// get repositories
BlockDirectivesRepository repository = getBassebombeCraft().getBlockDirectivesRepository();
while (!repository.isEmpty()) {