Fixed broken key handling.
@@ -23,6 +23,7 @@ import java.util.ArrayList;
import net.minecraft.client.settings.GameSettings;
import net.minecraft.client.settings.KeyBinding;
+import net.minecraftforge.common.MinecraftForge;
import net.minecraftforge.fml.common.eventhandler.SubscribeEvent;
import net.minecraftforge.fml.common.gameevent.TickEvent;
import net.minecraftforge.fml.common.gameevent.TickEvent.Phase;
@@ -46,6 +47,7 @@ public class KeyManager
if (additionalKeys != null)
{
fixAdditionalKeyBindings(settings);
+ MinecraftForge.EVENT_BUS.register(this);
}
}
