Clear render block instances on world unload to not leak the world

This commit is contained in:
Pelotrio authored and Jason Mitchell committed 2023-11-10 18:11:53 -08:00
1 parent df216f68b4
commit 966fad56ca
2 files changed
+15

No files matched your search

@@ -84,4 +84,9 @@ public class SubmapManagerSpecialMaterial extends SubmapManagerBase {
renderBlocksFullbright.submapSmall = submapSmall;
return renderBlocksFullbright;
}
public static void clearRenderBlocksInstance() {
renderBlocksFullbright = null;
}
}