Solved NettyInjection class

Discussion in 'Plugin Development' started by TheDevZone, Sep 13, 2015.

Thread Status:
Not open for further replies.
  1. Offline

    TheDevZone

  2. Offline

    timtower Administrator Administrator Moderator

    @TheDevZone
    getChannel(p).pipeline().addBefore("packet_handler", handler, handle);

    java.util.NoSuchElementException: packet_handler
     
  3. Offline

    TheDevZone

    I know, but how can i fix it? I tried a lot things... but it didnt work.
     
  4. Offline

    timtower Administrator Administrator Moderator

    @TheDevZone You find the element that you do need.
    What is this supposed to do in the end?
     
  5. Offline

    Zombie_Striker

    I'm assuming this would be your plugin:

    [07:43:53 WARN]: at de.craftstuebchen.prison.handlers.PlayerJoinQuitHandler.onJoin(PlayerJoinQuitHandler.java:72)
    >
    What is PlayerJoinQuitHander line 72

    Please learn to debug your own code/ troubleshoot code.
     
  6. Offline

    TheDevZone

  7. Offline

    timtower Administrator Administrator Moderator

    @TheDevZone I am generally not doing NMS stuff, so can't help you
     
  8. Offline

    TheDevZone

    Hm... thanks anyway :D
     
  9. Offline

    boomboompower

  10. Offline

    TheDevZone

    I can read them. But i dont know where exactly the fail is.
    I know, that the Method get an Error, because the Element packet_handler doesnt exists.
    But i dont know, how to fix it.
     
  11. Offline

    Zombie_Striker

    @TheDevZone
    So line 73 are those 5 lines?

    This is most likely the line. This is the fix.
     
  12. Offline

    TheDevZone

    Fixed, tank you all :D
    Close please
     
Thread Status:
Not open for further replies.

Share This Page