Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[BLEEDING][BREAKING] Store PlayerData by UUID, use a PlayerTickListener.
Instead of maps for each individual purpose, and the rather expensive TickListener adding and removing, player specific task will be done via one PlayerTickListener that can be registered with the TickTask. Thus PlayerData has the access methods requestUpdateInventory and requestPlayerSetBack, and so on, later more. For the DataManager.playerData map it'll be UUID first now. Consequently some calls have been altered to prefer passing Player or UUID for PlayerData getting.
- Loading branch information
Showing
8 changed files
with
268 additions
and
205 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.