mirror of
https://github.com/GTNewHorizons/TinkersConstruct.git
synced 2026-11-26 15:03:01 +00:00
Proxies run on initialize instead of constructors
This commit is contained in:
1 parent
741a439a13
commit
625118f062
17 files changed
+65
-53
No files matched your search
@@ -15,18 +15,19 @@ import tconstruct.smeltery.logic.SmelteryLogic;
|
||||
import tconstruct.util.config.PHConstruct;
|
||||
|
||||
public class SmelteryProxyClient extends SmelteryProxyCommon
|
||||
{
|
||||
public SmelteryProxyClient()
|
||||
{
|
||||
@Override
|
||||
public void initialize()
|
||||
{
|
||||
MinecraftForge.EVENT_BUS.register(this);
|
||||
registerGuiHandler();
|
||||
MinecraftForge.EVENT_BUS.register(this);
|
||||
}
|
||||
|
||||
@Override
|
||||
protected void registerGuiHandler()
|
||||
{
|
||||
super.registerGuiHandler();
|
||||
TProxyCommon.registerClientGuiHandler(smelteryGuiID, this);
|
||||
TProxyCommon.registerServerGuiHandler(smelteryGuiID, this);
|
||||
}
|
||||
|
||||
@Override
|
||||
|
||||
Reference in new issue
Block a user