Fixes Issue #945

This commit is contained in:
Qowyn committed 2014-09-05 21:34:46 +02:00
1 parent 2342d4a5e2
commit efac2f7a73
10 files changed
+26 -25

No files matched your search

@@ -21,7 +21,7 @@ import tconstruct.util.network.DoubleJumpPacket;
import tconstruct.util.network.GogglePacket;
import cpw.mods.fml.common.gameevent.TickEvent.Type;
public class TControls extends TKeyHandler
public class ArmorControls extends TKeyHandler
{
public static final String keybindCategory = "tconstruct.keybindings";
public static KeyBinding armorKey = new KeyBinding("key.tarmor", 24, keybindCategory);
@@ -43,7 +43,7 @@ public class TControls extends TKeyHandler
// boolean onStilts = false;
public TControls()
public ArmorControls()
{
super(new KeyBinding[] { armorKey, toggleGoggles, beltSwap, zoomKey }, new boolean[] { false, false, false, false }, getVanillaKeyBindings(), new boolean[] { false, false });
/*ClientRegistry.registerKeyBinding(armorKey);
@@ -2,7 +2,7 @@ package tconstruct.client.tabs;
import net.minecraft.init.Items;
import net.minecraft.item.ItemStack;
import tconstruct.client.TControls;
import tconstruct.client.ArmorControls;
public class InventoryTabArmorExtended extends AbstractTab
{
@@ -14,7 +14,7 @@ public class InventoryTabArmorExtended extends AbstractTab
@Override
public void onTabClicked ()
{
TControls.openArmorGui();
ArmorControls.openArmorGui();
}
@Override
@@ -3,7 +3,7 @@ package tconstruct.client.tabs;
import net.minecraft.item.ItemStack;
import tconstruct.armor.ArmorProxyClient;
import tconstruct.armor.TinkerArmor;
import tconstruct.client.TControls;
import tconstruct.client.ArmorControls;
public class InventoryTabKnapsack extends AbstractTab
{
@@ -15,7 +15,7 @@ public class InventoryTabKnapsack extends AbstractTab
@Override
public void onTabClicked ()
{
TControls.openKnapsackGui();
ArmorControls.openKnapsackGui();
}
@Override