Fixed crashing when trying to call a plugin function that doesn't exist