Hack-fixed spamming the console when using @event hooks.