Update core + remove duped createStructureStart() call.

This commit is contained in:
tom lee
2022-02-05 16:17:31 +08:00
parent 1f60357a95
commit 1222db45d6
2 changed files with 1 additions and 12 deletions
@@ -42,17 +42,6 @@ public final class StepStructureStart {
// System.out.println("StepStructureStart: "+chunk.getPos());
envionment.params.generator.createStructures(envionment.params.registry, tParams.structFeat, chunk,
envionment.params.structures, envionment.params.worldSeed);
// try {
envionment.params.generator.createStructures(envionment.params.registry, tParams.structFeat, chunk,
envionment.params.structures, envionment.params.worldSeed);
// tParams.structCheck.onStructureLoad(chunk.getPos(), chunk.getAllStarts());
/*
* } catch (ArrayIndexOutOfBoundsException e) { // There's a rare issue with
* StructStart where it throws ArrayIndexOutOfBounds // This means the
* structFeat is corrupted (For some reason) and I need to reset it. // TODO:
* Figure out in the future why this happens even though I am using new
* structFeat throw new StructStartCorruptedException(e); }
*/
}
}
}