mirror of
https://github.com/GTNewHorizons/FindIt.git
synced 2026-11-24 18:24:21 +00:00
findit/util/AbstractStackFinder: Add check for whether NEI Search is focused (#8)
* findit/util/AbstractStackFinder: Add check for whether NEI Search is focused This adds a check to make sure that FindIt doesn't start a search when searching in NEI Signed-off-by: Firenoo <[email protected]> * findit/util/AbstractStackFinder: Move key handling code to lastKeyTyped Moves FindIt's keyhandling code to lastKeyTyped to avoid conflicting with textfields. Signed-off-by: Firenoo <[email protected]> * findit/util/AbstractStackFinder: Code cleanup Signed-off-by: Firenoo <[email protected]> * findit/service: Revert default keybinds to T/Y. Signed-off-by: Firenoo <[email protected]> Signed-off-by: Firenoo <[email protected]>
This commit is contained in:
1 parent
84f2cf1182
commit
bdf41e7ed8
3 files changed
+18
-18
No files matched your search
@@ -16,7 +16,7 @@ import org.lwjgl.input.Keyboard;
|
||||
public class ClientBlockFindService extends BlockFindService {
|
||||
|
||||
public ClientBlockFindService() {
|
||||
API.addHashBind("gui.findit.find_block", Keyboard.KEY_Y + NEIClientUtils.SHIFT_HASH);
|
||||
API.addHashBind("gui.findit.find_block", Keyboard.KEY_Y);
|
||||
GuiContainerManager.addInputHandler(new BlockFindInputHandler());
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user