mirror of
https://github.com/MineLittlePony/MineLittlePony.git
synced 2024-11-22 04:27:59 +01:00
Remove some debug code that caused a memory leak.
Also prevent the leak from happening in the future.
This commit is contained in:
parent
e8f1a68fa3
commit
429266b971
2 changed files with 2 additions and 3 deletions
|
@ -101,9 +101,7 @@ public class MineLittlePony {
|
|||
minecraft.displayGuiScreen(new GuiSkinsMineLP(ponyManager));
|
||||
}
|
||||
HDSkinManager.INSTANCE.setEnabled(config.hd);
|
||||
if (Keyboard.isKeyDown(Keyboard.KEY_O)) {
|
||||
PMAPI.init();
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
public static MineLittlePony getInstance() {
|
||||
|
|
|
@ -50,6 +50,7 @@ public abstract class AbstractPonyModel extends ModelPlayer {
|
|||
}
|
||||
|
||||
public final void init(float yOffset, float stretch) {
|
||||
this.boxList.clear();
|
||||
this.initTextures();
|
||||
this.initPositions(yOffset, stretch);
|
||||
for (IPonyPart part : modelParts) {
|
||||
|
|
Loading…
Reference in a new issue