YAYY. ITS WORKING!

Removed debug code and fixed the things
This commit is contained in:
TheTemporatlist committed 2014-11-11 17:53:42 -05:00
1 parent f410c0bd6b
commit fc264ccae9
2 files changed
+1 -2

No files matched your search

@@ -66,6 +66,7 @@ public class ArmorProxyClient extends ArmorProxyCommon {
public void preInit() {
controlInstance = new ArmorControls();
FMLCommonHandler.instance().bus().register(controlInstance);
MinecraftForge.EVENT_BUS.register(controlInstance);
MinecraftForge.EVENT_BUS.register(new TabRegistry());
}
@@ -97,7 +97,6 @@ public class ArmorControls {
@SubscribeEvent
public void keyEventSpecial(KeyBindingPressedEvent event) {
TConstruct.logger.info("binding event received");
this.keyPressed(event.keyBinding);
}
@@ -117,7 +116,6 @@ public class ArmorControls {
}
private void keyPressed(KeyBinding key) {
TConstruct.logger.info("keyPressed " + key.getKeyDescription());
if (key == ArmorControls.armorKey) {
openArmorGui();
}