Why do people think they need to override onCommand?

Discussion in 'Plugin Development' started by Tirelessly, Sep 27, 2012.

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

    Tirelessly

    Just curious...
     
  2. Offline

    Courier

    It can be simpler than using executors, especially if you don't understand Java. There are a surprising number of threads here asking, "how to talk to one class from another class".

    People should probably know Java... but whatever.
     
  3. Offline

    Tirelessly

    But even in your main class, you don't need to override or use executors.
     
  4. Offline

    Courier

    What is your alternative?
     
  5. Offline

    Sagacious_Zed Bukkit Docs

    anonymous inner classes still user executors. Even if you don't use the override annotation it will still override something that has the same signature.
     
  6. Offline

    Courier

    :p I was waiting to get him to say he used anonymous inner classes (probably not by that name), so I could say that...
     
  7. Offline

    Sagacious_Zed Bukkit Docs

    there is still one more option I did not talk about.

    Show Spoiler
    inner classes
     
Thread Status:
Not open for further replies.

Share This Page