mirror of
https://github.com/TotalFreedomMC/PlayerParticles.git
synced 2025-08-08 21:43:06 +00:00
Use maps instead of lists where applicable. Start work on API
This commit is contained in:
parent
7774e500ca
commit
ca9cf08c70
19 changed files with 283 additions and 109 deletions
|
@ -531,7 +531,7 @@ public class FixedCommandModule implements CommandModule {
|
|||
private void handleList(PPlayer pplayer, Player p, String[] args) {
|
||||
LocaleManager localeManager = PlayerParticles.getInstance().getManager(LocaleManager.class);
|
||||
|
||||
List<Integer> ids = pplayer.getFixedEffectIds();
|
||||
List<Integer> ids = new ArrayList<>(pplayer.getFixedEffectIds());
|
||||
Collections.sort(ids);
|
||||
|
||||
if (ids.isEmpty()) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue