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
commit a01d27d273
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

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