@Override public void onGuiClosed() { super.onGuiClosed(); if (this.prevSize != -1) { this.mc.gameSettings.guiScale = this.prevSize; } }