gnembon / fabric-carpet

Fabric Carpet
MIT License
1.73k stars 275 forks source link

Fixes #1958 #1959

Closed senseiwells closed 2 weeks ago

senseiwells commented 4 months ago

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.