gingerchicken / como-client

A simple minecraft utility mod written for fun.
GNU General Public License v3.0
13 stars 2 forks source link

Add default clickgui bind #234

Open gingerchicken opened 2 years ago

gingerchicken commented 2 years ago

Currently it is hard coded to INSERT maybe change this to fit the new bind system as seen here:

// Open ClickGUI (if we dont have meteor)
if (!ComoClient.isMeteorLoaded() && this.getBoolSetting("GUIKey") && e.key == ComoClient.getInstance().config.menuKey) {
    ChatUtils.hideNextChat = true;
    ComoClient.getInstance().getModules().get("clickgui").toggle();
}

As you can see, there do need to be some special cases fit first, i.e. no meteor client!