Fixed Structure Crash

- Don't carash anymore when you disable structures in the server.properties.
This commit is contained in:
Brian Neumann-Fopiano committed 2026-10-04 15:32:54 -04:00
1 parent 65ae3f1b45
commit ee5aaec87c
6 files changed
+12 -74

No files matched your search

@@ -118,14 +118,6 @@ public final class BukkitStructureStagePolicy implements StructureStagePolicy<
return ((IrisMaterialPalette) source).get(rng, x, y, z, engine.getData());
}
@Override
public RuntimeException structuresDisabled(int chunkX, int chunkZ) {
return new IllegalStateException("Iris cannot generate native structures in chunk "
+ chunkX + "," + chunkZ
+ " because structure generation is disabled outside the pack; enable native structure generation "
+ "and deny families through importedStructures.disabled or complete keys through importedStructures.disabledExact");
}
@Override
public String generationLabel(String structureId) {
return "Iris native structure " + structureId;