The method sendActionBar(Player, String) is undefined for the type Packetutils

Discussion in 'Spigot Plugin Development' started by WaffleCake, Jun 3, 2017.

  1. Long story short, ive been working on a plugin for ages now and I've done multiple restarts and redoes in my code and I managed to fix all but one error in my code and I don't have any idea how to fix it. I will post the code from all classes that could affect it as well as a screenshot of the error.

    Code: https://hastebin.com/kikakovibo.java
     
    • Funny Funny x 1
  2. Well as the error shows and one can clearly see: There is no such method in the Packetutils class.
     
  3. Like your error showed. The method is not defined.
     
  4. Exactly what @Shyos said. I'm not sure if you were watching a tutorial or something for this but I don't recommend doing that because most of the time they usually get something wrong or don't know a basic understanding of java themselves. Also this is a simple java error that you could have fixed real quick.

    Also what application are you using to write the code? Because usually they give you an error when this happens