EmilHernvall / tregmine

The tregmine plugins
http://tregmine.info/
BSD 4-Clause "Original" or "Old" License
8 stars 10 forks source link

Moved AutoSaveListener & Fixed it #281

Closed lDiverse closed 10 years ago

lDiverse commented 10 years ago

So a while ago I added a bit of code for an AutoSave listener which alerts player online when it's saving.

I did - and no one picked up on it, forgot to implement Listener in the class of the EventHandler. I also didn't register the class as something to register events within. For these reasons it obviously wouldn't work.

Now I find it pretty silly to turn the main class for such an extensive plugin into a listener purely for one simple event. but I also find it pretty silly to have a whole class just for what is three lines. For that purpose I've created a miscellaneous listener.