mirror of
https://github.com/MinecraftForge/MinecraftForge.git
synced 2026-11-13 00:37:52 +00:00
Expose the nethandler in a few places, and pull out FMLEmbeddedChannel, exposing a utility method on it.
More to come.
This commit is contained in:
1 parent
f36152398d
commit
22ba6fda5e
10 files changed
+100
-30
No files matched your search
@@ -22,6 +22,7 @@ import java.util.regex.Pattern;
|
||||
import java.util.zip.ZipEntry;
|
||||
import java.util.zip.ZipFile;
|
||||
|
||||
import net.minecraft.network.INetHandler;
|
||||
import net.minecraft.network.NetworkManager;
|
||||
import net.minecraft.server.MinecraftServer;
|
||||
import net.minecraft.util.StringTranslate;
|
||||
@@ -215,4 +216,9 @@ public class FMLServerHandler implements IFMLSidedHandler
|
||||
{
|
||||
throw new RuntimeException("Missing");
|
||||
}
|
||||
@Override
|
||||
public INetHandler getClientPlayHandler()
|
||||
{
|
||||
return null;
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user