9
0
mirror of https://github.com/VolmitSoftware/Iris.git synced 2025-12-30 04:29:05 +00:00

Fix Pregen oversight

This commit is contained in:
CrazyDev22
2024-02-22 17:27:38 +01:00
parent cd3e9f772d
commit d08600fbaa

View File

@@ -167,7 +167,10 @@ public class IrisPregenerator {
generator.close();
ticker.interrupt();
listener.onClose();
getMantle().trim(0, 0);
Mantle mantle = getMantle();
if (mantle != null) {
mantle.trim(0, 0);
}
}
private void visitRegion(int x, int z, boolean regions) {