mirror of
https://github.com/VolmitSoftware/Iris.git
synced 2026-04-06 07:46:08 +00:00
Smashed the Stupid out of Memory
This commit is contained in:
@@ -468,4 +468,9 @@ public class GenObject
|
||||
recalculateMountShift();
|
||||
}
|
||||
}
|
||||
|
||||
public void dispose()
|
||||
{
|
||||
s.clear();
|
||||
}
|
||||
}
|
||||
|
||||
@@ -220,4 +220,15 @@ public class GenObjectGroup
|
||||
|
||||
L.i(ChatColor.LIGHT_PURPLE + "Processed " + ChatColor.WHITE + F.f(schematics.size()) + ChatColor.LIGHT_PURPLE + " Schematics in " + ChatColor.WHITE + name);
|
||||
}
|
||||
|
||||
public void dispose()
|
||||
{
|
||||
for(GenObject i : schematics)
|
||||
{
|
||||
i.dispose();
|
||||
}
|
||||
|
||||
schematics.clear();
|
||||
flags.clear();
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user