keybinds (#56)

* unbind keybind by default and put mod name as category

* use isPressed() instead of getIsPressed()
This commit is contained in:
Alexdoru authored and GitHub committed 2023-01-27 22:31:25 +01:00
1 parent 2690cd2cd8
commit 43c4963f3a
2 files changed
+3 -2

No files matched your search

@@ -21,7 +21,7 @@ public class EMTClientEventHandler {
@SubscribeEvent
public void clientTick(ClientTickEvent e) {
if (EMTKeys.keyUnequip.getIsKeyPressed()) {
if (EMTKeys.keyUnequip.isPressed()) {
EMT.INSTANCE.sendToServer(new PacketEMTKeys());
}
}