Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- NetworkWrapper.scala:19: no type parameters for method registerMessage: (x$1: Class[_ <: cpw.mods.fml.common.network.simpleimpl.IMessageHandler[REQ,REPLY]], x$2: Class[REQ], x$3: Int, x$4: cpw.mods.fml.relauncher.Side)Unit exist so that it can be applied to arguments (Class[_$1(in value $anonfun)], Class[(some other)_$1(in value $anonfun)], Int, cpw.mods.fml.relauncher.Side)
- --- because ---
- argument expression's type is not compatible with formal parameter type;
- found : Class[_$1] where type _$1 <: cpw.mods.fml.common.network.simpleimpl.IMessageHandler[_ <: cpw.mods.fml.common.network.simpleimpl.IMessage, _ <: cpw.mods.fml.common.network.simpleimpl.IMessage]
- required: Class[_ <: cpw.mods.fml.common.network.simpleimpl.IMessageHandler[?REQ,?REPLY]]
- CHANNEL.registerMessage(messageType.handlerClass,
- ^
- NetworkWrapper.scala:19: type mismatch;
- found : Class[_$1] where type _$1 <: cpw.mods.fml.common.network.simpleimpl.IMessageHandler[_ <: cpw.mods.fml.common.network.simpleimpl.IMessage, _ <: cpw.mods.fml.common.network.simpleimpl.IMessage]
- required: Class[_ <: cpw.mods.fml.common.network.simpleimpl.IMessageHandler[REQ,REPLY]]
- CHANNEL.registerMessage(messageType.handlerClass,
- ^
- NetworkWrapper.scala:20: type mismatch;
- found : Class[_$1] where type _$1 <: cpw.mods.fml.common.network.simpleimpl.IMessage
- required: Class[REQ]
- messageType.messageClass, currentDiscriminator, messageType.side)
- ^
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement