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:
Christian committed 2013-12-31 09:45:26 -05:00
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;
}
}