From 282ba14c74abff616d33ccbb3b4e1ba9d3de8d85 Mon Sep 17 00:00:00 2001 From: MachineMuse Date: Sat, 26 Jan 2013 02:17:13 -0700 Subject: [PATCH] fixed server to not require a client-only class -.- --- .../net/machinemuse/powersuits/client/ClientProxy.java | 2 ++ .../net/machinemuse/powersuits/common/PowersuitsMod.java | 4 +--- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/minecraft/net/machinemuse/powersuits/client/ClientProxy.java b/src/minecraft/net/machinemuse/powersuits/client/ClientProxy.java index 66be2e0..56c83cd 100644 --- a/src/minecraft/net/machinemuse/powersuits/client/ClientProxy.java +++ b/src/minecraft/net/machinemuse/powersuits/client/ClientProxy.java @@ -60,6 +60,8 @@ public class ClientProxy extends CommonProxy { public void registerHandlers() { keybindHandler = new KeybindKeyHandler(); KeyBindingRegistry.registerKeyBinding(keybindHandler); + KeybindManager.readInKeybinds(); + playerTickHandler = new PlayerTickHandlerClient(); TickRegistry.registerTickHandler(playerTickHandler, Side.CLIENT); diff --git a/src/minecraft/net/machinemuse/powersuits/common/PowersuitsMod.java b/src/minecraft/net/machinemuse/powersuits/common/PowersuitsMod.java index af9b064..7c18e00 100644 --- a/src/minecraft/net/machinemuse/powersuits/common/PowersuitsMod.java +++ b/src/minecraft/net/machinemuse/powersuits/common/PowersuitsMod.java @@ -1,7 +1,6 @@ package net.machinemuse.powersuits.common; import net.machinemuse.powersuits.block.BlockTinkerTable; -import net.machinemuse.powersuits.client.KeybindManager; import net.machinemuse.powersuits.event.EventHandler; import net.machinemuse.powersuits.event.MovementManager; import net.machinemuse.powersuits.item.ItemComponent; @@ -122,8 +121,7 @@ public class PowersuitsMod { components.populate(); Config.loadPowerModules(); - KeybindManager.readInKeybinds(); - + proxy.registerHandlers(); proxy.registerRenderers(); NetworkRegistry.instance().registerGuiHandler(this, guiHandler);