mirror of
https://github.com/TotalFreedomMC/PlayerParticles.git
synced 2024-12-28 10:24:15 +00:00
Fix saving wrong group when loading groups
This commit is contained in:
parent
be1c30989a
commit
dfb39e006c
1 changed files with 1 additions and 1 deletions
|
@ -165,7 +165,7 @@ public class GroupCommandModule implements CommandModule {
|
|||
activeGroup.getParticles().put(particle.getId(), particle.clone());
|
||||
|
||||
// Update group and notify player
|
||||
PlayerParticlesAPI.getInstance().savePlayerParticleGroup(pplayer.getPlayer(), group);
|
||||
PlayerParticlesAPI.getInstance().savePlayerParticleGroup(pplayer.getPlayer(), activeGroup);
|
||||
|
||||
if (!isPreset)
|
||||
localeManager.sendMessage(pplayer, "group-load-success", StringPlaceholders.builder("amount", activeGroup.getParticles().size()).addPlaceholder("name", groupName).build());
|
||||
|
|
Loading…
Reference in a new issue