mirror of
https://github.com/VolmitSoftware/Iris.git
synced 2026-10-28 15:00:11 +00:00
Fixed Structure Crash
- Don't carash anymore when you disable structures in the server.properties.
This commit is contained in:
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;
|
||||
|
||||
Reference in new issue
Block a user