mirror of
https://github.com/GTNewHorizons/Chisel.git
synced 2026-11-22 13:19:52 +00:00
Clear render block instances on world unload to not leak the world
This commit is contained in:
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;
|
||||
}
|
||||
|
||||
}
|
||||
Reference in new issue
Block a user