(MainMenuButton buttonMenu)
| 84 | } |
| 85 | |
| 86 | @Override |
| 87 | protected void actionPerformedMenu(MainMenuButton buttonMenu) throws IOException { |
| 88 | if (lgi) return; |
| 89 | super.actionPerformedMenu(buttonMenu); |
| 90 | |
| 91 | switch (buttonMenu.id) { |
| 92 | case 1: |
| 93 | mc.displayGuiScreen(new GuiSelectWorld(this)); |
| 94 | break; |
| 95 | |
| 96 | case 2: |
| 97 | mc.displayGuiScreen(new GuiMultiplayer(this)); |
| 98 | break; |
| 99 | |
| 100 | case 3: |
| 101 | mc.displayGuiScreen(new GuiOptions(this, this.mc.gameSettings)); |
| 102 | break; |
| 103 | |
| 104 | case 4: |
| 105 | mc.displayGuiScreen(new GuiAccountManager(this)); |
| 106 | break; |
| 107 | |
| 108 | case 6: |
| 109 | mc.shutdown(); |
| 110 | break; |
| 111 | |
| 112 | case 7: |
| 113 | mc.displayGuiScreen(new MenuInfo()); |
| 114 | break; |
| 115 | |
| 116 | case 8: |
| 117 | if (FileUtil.fetchHwid() == "f") { |
| 118 | setMsg(decodes("RmFpbGVkIHRvIGZldGNoIGh3aWQ=")); |
| 119 | return; |
| 120 | } |
| 121 | setMsg(decodes("Q29waWVkIHRvIGNsaXBib2FyZA==")); |
| 122 | GuiScreen.setClipboardString(FileUtil.fetchHwid()); |
| 123 | break; |
| 124 | |
| 125 | case 10: |
| 126 | discordId = GuiScreen.getClipboardString(); |
| 127 | setMsg(decodes("U2V0IGRpc2NvcmQgSWQgdG86IA==") + discordId); |
| 128 | return; |
| 129 | |
| 130 | case 12: |
| 131 | FileUtil.showURL(Slack.getInstance().Website); |
| 132 | break; |
| 133 | |
| 134 | case 13: |
| 135 | FileUtil.showURL(Slack.getInstance().DiscordServer); |
| 136 | break; |
| 137 | } |
| 138 | |
| 139 | if (buttonMenu.id == 951) { |
| 140 | lgi = true; |
| 141 | animTimer.reset(); |
| 142 | } else { |
| 143 | lgi = false; |
nothing calls this directly
no test coverage detected