Keybind to numpad key won't compile

Published by morlanjo on
Status
Fixed
Issue description

When I create a key bind specifying a numpad key it won't compile, error. I've tried different num keys and they don't seem to work. Other keys compile fine.

 

Executing gradle task: build
Build info: MCreator 2019.5.51710, 1.14.4, 64-bit, 16336 MB, Windows 10, JVM 1.8.0_222, JAVA_HOME: D:\Projects\minecraft\mcreator\jdk
> Configure project :
New Dep: net.minecraftforge:forge:1.14.4-28.1.106_mapped_snapshot_20190719-1.14.3
> Task :compileJava FAILED
D:\Projects\minecraft\MCreatorWorkspaces\saxy_mod\src\main\java\net\mcreator\saxy_mod\MCreatorSaxyKeybindA5.java:37: error: cannot find symbol
      keys = new KeyBinding("key.mcreator.saxykeybinda5", GLFW.GLFW_KEY_NUMPAD4, "key.categories.misc");
                                                              ^
  symbol:   variable GLFW_KEY_NUMPAD4
  location: class GLFW
1 error
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':compileJava'.

Issue comments