Prevent client crash,

Mine & Blade Battlegear 2 compatibility
This commit is contained in:
Ugachaga authored and GitHub committed 2016-11-10 09:32:15 +07:00
1 parent 759018100c
commit 6ed7fc5cc6
1 file changed
+1
@@ -107,6 +107,7 @@ public class KeyInputHandler {
if (c > 0 && c < 8) return c + i;
if (c == 0 && i < 0) return 8;
if (c == 8 && i > 0) return 0;
if (c == 150 && i < 0) return 152;
return c + i;
}
}