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,542
    Likes Received:
    1,058
    @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 Just another one...

    Joined:
    Jul 28, 2013
    Messages:
    2,470
    Likes Received:
    835
    Implemented for next release.
     

Share This Page

Loading...