Blackvein / Quests

Quests mod for Spigot
31 stars 35 forks source link

delayed playerdata load and sync (tested thoroughly in sql and bungee environment) #566

Closed LostSoul6Years closed 2 years ago

LostSoul6Years commented 2 years ago

This pull request is meant to fix the issue in which player data syncs too slowly over different bungee servers, causing data override and thus, leak

the mechanism is simple here, delay the player data load (by postponing delayed player data loading task in player join event) and the player data load will be delayed by 20 ticks (one second)

Evidence and the testing jar will be attached later.