Replies: 1 comment 1 reply
-
I would just "wrap" a bukkit team in your own type that tracked that information. The order of entries is not defined. So what I'd do is save your "teams" somewhere, load them and create a bukkit team from it, but then wrap it in your own type that tracks that information and only make changes through that wrapper type. Then you can save that back to whatever storage you want. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Is your feature request related to a problem?
It'd be a good thing to know which Entity joined first and which Entity joined last to form some sort of hierarchy in a Team.
Describe the solution you'd like.
Return a LinkedHashSet instead of Set such as one in Team#getEntries. Or, if maintaining order for the whole Entities in a Team is not possible, it'd be nice to just have a getter for the very first Entity that joined the team.
Describe alternatives you've considered.
Persist the datetime which Entity joined a Team. Having this feature implemented would remove requirement to persist such detail.
Other
No response
Beta Was this translation helpful? Give feedback.
All reactions