Fixes an issue where repeatedly calling the createFake method in quick succession will spawn multiple of the same player which can cause lots of issues. This is because fetching the profile takes some time and the player is not online thus bypasses the logged in check. I've added an extra check for players that are currently being spawned in to prevent further requests to spawn that player in while their profile is being fetched.
Fixes an issue where repeatedly calling the
createFake
method in quick succession will spawn multiple of the same player which can cause lots of issues. This is because fetching the profile takes some time and the player is not online thus bypasses the logged in check. I've added an extra check for players that are currently being spawned in to prevent further requests to spawn that player in while their profile is being fetched.