mirror of
https://github.com/MinecraftForge/MinecraftForge.git
synced 2026-11-16 18:45:09 +00:00
OK, network channels appear to be working well for both dedi and integrated servers.
The beginnings of the new mod structure too.
This commit is contained in:
1 parent
e544adba5c
commit
f5c38e2359
18 files changed
+168
-275
No files matched your search
@@ -123,8 +123,6 @@ public class FMLClientHandler implements IFMLSidedHandler
|
||||
|
||||
private Map<String, IResourcePack> resourcePackMap;
|
||||
|
||||
private NetworkManager networkConnection;
|
||||
|
||||
/**
|
||||
* Called to start the whole game off
|
||||
*
|
||||
@@ -571,11 +569,6 @@ public class FMLClientHandler implements IFMLSidedHandler
|
||||
@Override
|
||||
public NetworkManager getClientToServerNetworkManager()
|
||||
{
|
||||
return this.networkConnection;
|
||||
}
|
||||
|
||||
public void currentConnection(NetworkManager networkManager, boolean shouldChange)
|
||||
{
|
||||
if (shouldChange) this.networkConnection = networkManager;
|
||||
return this.client.func_147114_u()!=null ? this.client.func_147114_u().func_147298_b() : null;
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user