mirror of
https://github.com/VolmitSoftware/Iris.git
synced 2026-04-05 23:36:12 +00:00
Smashed the Stupid out of Memory
This commit is contained in:
@@ -169,4 +169,17 @@ public class CompiledDimension
|
||||
|
||||
return b;
|
||||
}
|
||||
|
||||
public void dispose()
|
||||
{
|
||||
biomes.clear();
|
||||
biomeCache.clear();
|
||||
|
||||
for(GenObjectGroup i : objects.values())
|
||||
{
|
||||
i.dispose();
|
||||
}
|
||||
|
||||
objects.clear();
|
||||
}
|
||||
}
|
||||
|
||||
@@ -104,4 +104,9 @@ public class IrisDimension
|
||||
{
|
||||
return environment;
|
||||
}
|
||||
|
||||
public void dispose()
|
||||
{
|
||||
biomes.clear();
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user