9
0
mirror of https://github.com/VolmitSoftware/Iris.git synced 2025-12-29 20:19:06 +00:00

Merge pull request #1075 from VolmitDev/fix_pregen

Fix Pregen oversight
This commit is contained in:
Brian Fopiano
2024-02-22 18:42:16 -05:00
committed by GitHub

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) {