Merge pull request #1075 from VolmitDev/fix_pregen

Fix Pregen oversight
This commit is contained in:
Brian Fopiano authored and GitHub committed 2024-02-22 18:42:16 -05:00
commit a01d27d273
1 file changed
+4 -1
@@ -167,7 +167,10 @@ public class IrisPregenerator {
generator.close(); generator.close();
ticker.interrupt(); ticker.interrupt();
listener.onClose(); 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) { private void visitRegion(int x, int z, boolean regions) {