mirror of
https://github.com/GTNewHorizons/FindIt.git
synced 2026-11-24 18:24:21 +00:00
Add Shortcut to KeyBinding (#7)
This commit is contained in:
1 parent
5be63a3f25
commit
84f2cf1182
4 files changed
+7
-5
No files matched your search
@@ -15,8 +15,8 @@ public abstract class AbstractStackFinder implements IContainerInputHandler {
|
||||
|
||||
@Override
|
||||
public boolean keyTyped(GuiContainer window, char c, int key) {
|
||||
int keyBinding = NEIClientConfig.getKeyBinding(getKeyBindId());
|
||||
if (key != keyBinding) {
|
||||
|
||||
if (!NEIClientConfig.isKeyHashDown(getKeyBindId())) {
|
||||
return false;
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user