mirror of
https://github.com/TotalFreedomMC/PlayerParticles.git
synced 2025-07-10 07:44:25 +00:00
Fix preset group overrides for command not working properly
This commit is contained in:
parent
770a934db1
commit
09fdeaf612
1 changed files with 2 additions and 4 deletions
|
@ -151,9 +151,7 @@ public class GroupCommandModule implements CommandModule {
|
|||
|
||||
group = presetGroup.getGroup();
|
||||
isPreset = true;
|
||||
}
|
||||
|
||||
if (!group.canPlayerUse(pplayer)) {
|
||||
} else if (!group.canPlayerUse(pplayer)) {
|
||||
localeManager.sendMessage(pplayer, "group-no-permission", StringPlaceholders.single("group", groupName));
|
||||
return;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue