Fix stupid hardcoding derp
This commit is contained in:
parent
d102e694c8
commit
7f05ffa511
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue