Solved The type EventsClass must implement the inherited abstract method Runnable.run()

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

Thread Status:
Not open for further replies.
  1. I am trying to create a plugin using ActionBarAPI however whenever I try and use a bukkit runnable to make sure the actionbar does not go away I get told 'The type EventsClass must implement the inherited abstract method Runnable.run()' eventhough I have used run() in my class. Any ideas on why it is telling me this or how to get around it?

    Code: https://hastebin.com/jezetoxodo.java
     
  2. Your anonymous BukkitRunnable class has the run() method, but your EventsClass does not. Do you even need EventsClass to
    extend BukkitRunnable and implement Listener? Cuz it doesn't look like it needs to
     
  3. Thanks I didnt think of that :p
     
Thread Status:
Not open for further replies.