This is not good. It may produce deadlocks when a plugin calls this function. Rather, set an "IsExperienceDirty" flag and check it in the Tick() function.