1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Implemented Add Check for Forgotten Listener Addition

Discussion in 'Client & Site Suggestions' started by Arbiter, Sep 30, 2015.

  1. Arbiter

    Arbiter Mod Automation

    Joined:
    Jul 26, 2013
    Messages:
    2,938
    Likes Received:
    1,266
    @Cloud please add a isSDK && instanceof Listener && getEventListeners().contains(this) to the internal onStart() so as to prompt the user if they implemented the right stuff but forgot to register the event listener. It won't handle all cases if the dev decides to abstract the listener to non-AbstractScript class, but it'll handle 99% of them. It's a dumb issue we should help devs debug.
     
  2. Cloud

    Cloud Engineer

    Joined:
    Jul 28, 2013
    Messages:
    2,777
    Likes Received:
    1,124
    Implemented for next release.
     

Share This Page

Loading...