mirror of
https://github.com/MinecraftForge/MinecraftForge.git
synced 2026-11-13 16:54:22 +00:00
Fix stupid hardcoding derp
This commit is contained in:
1 parent
d102e694c8
commit
7f05ffa511
1 file changed
+1
-1
@@ -57,7 +57,7 @@ public class FMLEmbeddedChannel extends EmbeddedChannel {
|
||||
String targetName = null;
|
||||
for (Entry<String, ChannelHandler> entry : pipeline())
|
||||
{
|
||||
if (FMLRuntimeCodec.class.isInstance(entry.getValue()))
|
||||
if (type.isInstance(entry.getValue()))
|
||||
{
|
||||
targetName = entry.getKey();
|
||||
break;
|
||||
|
||||
Reference in new issue
Block a user