Added check for new event so plugin can run on older servers.