Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Optimizations #58

Closed
6 tasks done
AmauryCarrade opened this issue Nov 23, 2014 · 0 comments
Closed
6 tasks done

Optimizations #58

AmauryCarrade opened this issue Nov 23, 2014 · 0 comments

Comments

@AmauryCarrade
Copy link
Member

  • Cache the alive teams.
  • In the UHTeamManager, use a Set to store teams.
  • Cache the association player <-> team. (Useless, the lists are small.)
  • Add a int UHTeam.getSize() method.
  • Use a Set to store players in a team.
  • Add a Set<UUID> UHTeam.getPlayersUUID() method.
@AmauryCarrade AmauryCarrade self-assigned this Nov 23, 2014
@AmauryCarrade AmauryCarrade added this to the 1.2 – Stable milestone Nov 23, 2014
AmauryCarrade added a commit that referenced this issue Nov 27, 2014
Added a method to chec if a team is registered.

Updated the code to follow these changes. (#58)

Real fix for the UHGameEndsEvent being called multiple times.
AmauryCarrade added a commit that referenced this issue Nov 27, 2014
)

Fix: fixed team-teleportation not working with some players in the offline (NPE).
Fix: fixed team-teleportation without the UHTeam.teleportTo method.
@AmauryCarrade AmauryCarrade removed their assignment Nov 2, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant