hpfxd / PandaSpigot

Fork of Paper for 1.8.8 focused on improved performance and stability.
GNU General Public License v3.0
239 stars 65 forks source link

Only call the event if there is a listener that uses it #91

Closed uRyanxD closed 1 year ago

iamnoksio commented 1 year ago

this is useless, even if the event is fire it still do nothing

iamnoksio commented 1 year ago

this is useless, even if the event is fire it still do nothing

uRyanxD commented 1 year ago

this is useless, even if the event is fire it still do nothing

Yes, even if it is called, it doesn't do anything, but it doesn't make sense to call it if it doesn't do anything

iamnoksio commented 1 year ago

this is useless, even if the event is fire it still do nothing

Yes, even if it is called, it doesn't do anything, but it doesn't make sense to call it if it doesn't do anything

even if it doesnt make sens to you, it still dont change any performances/fix something, and if it was absolutely right you'd do it for every single event