Corrected notification function

No longer relies on a gamemode function, fixes #64