Fix remaining errors in v1.11

This commit is contained in:
Kirsty McNaught
2017-06-04 10:56:20 +01:00
parent 2df8bf3582
commit 574142ca84
5 changed files with 14 additions and 13 deletions
@@ -142,11 +142,11 @@ public class GuiConfig extends GuiScreen {
public void actionPerformed(GuiButton button) {
if (button.id == buttonAbortID) {
Logger.info("actionPerformed(b)", "Closing Crafting Keys GUI now!");
mc.thePlayer.closeScreen();
mc.player.closeScreen();
} else if (button.id == buttonSaveID) {
save();
Logger.info("actionPerformed(b)", "Saving & closing Crafting Keys GUI now!");
mc.thePlayer.closeScreen();
mc.player.closeScreen();
} else if (button.id >= 0 && button.id <= 11) {
if (selectedButtonID == -1) {
selectedButtonID = button.id;