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,521
    Likes Received:
    1,039
    @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 The Developer

    Joined:
    Jul 28, 2013
    Messages:
    2,329
    Likes Received:
    757
    Implemented for next release.
     

Share This Page

Loading...