mirror of
https://github.com/GTNewHorizons/TinkersConstruct.git
synced 2026-11-19 03:49:29 +00:00
Fixes Issue #945
This commit is contained in:
1 parent
2342d4a5e2
commit
efac2f7a73
10 files changed
+26
-25
No files matched your search
@@ -39,7 +39,7 @@ import tconstruct.armor.model.HiddenPlayerModel;
|
||||
import tconstruct.armor.model.WingModel;
|
||||
import tconstruct.armor.player.ArmorExtended;
|
||||
import tconstruct.armor.player.KnapsackInventory;
|
||||
import tconstruct.client.TControls;
|
||||
import tconstruct.client.ArmorControls;
|
||||
import tconstruct.client.TKeyHandler;
|
||||
import tconstruct.client.tabs.InventoryTabArmorExtended;
|
||||
import tconstruct.client.tabs.InventoryTabKnapsack;
|
||||
@@ -148,12 +148,12 @@ public class ArmorProxyClient extends ArmorProxyCommon
|
||||
}
|
||||
|
||||
/* Keybindings */
|
||||
public static TControls controlInstance;
|
||||
public static ArmorControls controlInstance;
|
||||
|
||||
@Override
|
||||
public void registerKeys ()
|
||||
{
|
||||
controlInstance = new TControls();
|
||||
controlInstance = new ArmorControls();
|
||||
uploadKeyBindingsToGame(Minecraft.getMinecraft().gameSettings, controlInstance);
|
||||
|
||||
TabRegistry.registerTab(new InventoryTabVanilla());
|
||||
@@ -191,7 +191,7 @@ public class ArmorProxyClient extends ArmorProxyCommon
|
||||
@SubscribeEvent
|
||||
public void goggleZoom (FOVUpdateEvent event)
|
||||
{
|
||||
if (TControls.zoom)
|
||||
if (ArmorControls.zoom)
|
||||
{
|
||||
ItemStack helmet = event.entity.getCurrentArmor(3);
|
||||
if (helmet != null && helmet.getItem() instanceof TravelGear)
|
||||
|
||||
Reference in new issue
Block a user