diff --git a/src/main/java/com/minelittlepony/gui/PonySettingsPanel.java b/src/main/java/com/minelittlepony/gui/PonySettingsPanel.java index 7c884907..d0b173b5 100644 --- a/src/main/java/com/minelittlepony/gui/PonySettingsPanel.java +++ b/src/main/java/com/minelittlepony/gui/PonySettingsPanel.java @@ -38,13 +38,14 @@ public class PonySettingsPanel extends GuiPonySettings implements ConfigPanel { public void onPanelShown(ConfigPanelHost host) { mc = Minecraft.getMinecraft(); width = host.getWidth(); + buttonList.clear(); initGui(); } @Override public void onPanelResize(ConfigPanelHost host) { width = host.getWidth(); - this.buttonList.clear(); + buttonList.clear(); initGui(); }