mirror of
https://github.com/GTNewHorizons/TinkersConstruct.git
synced 2026-11-14 01:14:18 +00:00
YAYY. ITS WORKING!
Removed debug code and fixed the things
This commit is contained in:
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();
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user