Advertisement
Guest User

Untitled

a guest
Sep 18th, 2015
42
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.49 KB | None | 0 0
  1. 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)
  2. --- because ---
  3. argument expression's type is not compatible with formal parameter type;
  4. 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]
  5. required: Class[_ <: cpw.mods.fml.common.network.simpleimpl.IMessageHandler[?REQ,?REPLY]]
  6. CHANNEL.registerMessage(messageType.handlerClass,
  7. ^
  8. NetworkWrapper.scala:19: type mismatch;
  9. 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]
  10. required: Class[_ <: cpw.mods.fml.common.network.simpleimpl.IMessageHandler[REQ,REPLY]]
  11. CHANNEL.registerMessage(messageType.handlerClass,
  12. ^
  13. NetworkWrapper.scala:20: type mismatch;
  14. found : Class[_$1] where type _$1 <: cpw.mods.fml.common.network.simpleimpl.IMessage
  15. required: Class[REQ]
  16. messageType.messageClass, currentDiscriminator, messageType.side)
  17. ^
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement