Fix up keyboard events for modloader

This commit is contained in:
Christian committed 2012-08-19 01:44:33 -04:00
1 parent a1385f4797
commit 3e94ee2c36
5 files changed
+91 -38

No files matched your search

+1 -2
View File
@@ -601,8 +601,7 @@ public class ModLoader
@SideOnly(CLIENT)
public static void registerKey(BaseMod mod, KeyBinding keyHandler, boolean allowRepeat)
{
ModLoaderModContainer mlmc=ModLoaderHelper.registerKeyHelper(mod);
KeyBindingRegistry.registerKeyBinding(new ModLoaderKeyBindingHandler(keyHandler, allowRepeat, mlmc));
ModLoaderClientHelper.registerKeyBinding(mod, keyHandler, allowRepeat);
}
/**