From 01924826bb0b44aff22c843a3857a6a90d875006 Mon Sep 17 00:00:00 2001 From: Ridan Vandenbergh Date: Tue, 6 Aug 2019 17:28:49 +0200 Subject: [PATCH] Fix bind deserialisation Fixes #107 --- src/main/java/me/zeroeightsix/kami/module/Module.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/me/zeroeightsix/kami/module/Module.java b/src/main/java/me/zeroeightsix/kami/module/Module.java index ed8f1661..a4956534 100644 --- a/src/main/java/me/zeroeightsix/kami/module/Module.java +++ b/src/main/java/me/zeroeightsix/kami/module/Module.java @@ -213,7 +213,7 @@ public class Module { int key = -1; try { - key = Keyboard.getKeyIndex(s); + key = Keyboard.getKeyIndex(s.toUpperCase()); } catch (Exception ignored) {} if (key == 0) return Bind.none();