Add Priority To Group Sync

This commit is contained in:
RayzsYT committed 2024-07-03 03:28:25 +02:00
1 parent 329b071ec1
commit 4c0e2df430
1 file changed
+1 -1
@@ -167,7 +167,7 @@ public class BukkitLoader extends JavaPlugin {
Storage.ConfigSections.Settings.TURN_BLACKLIST_TO_WHITELIST.ENABLED = commandsPacket.turnBlacklistToWhitelistEnabled();
GroupManager.clearAllGroups();
groupsPacket.getGroups().forEach(group -> GroupManager.setGroup(group.getGroupName(), group.getCommands()));
groupsPacket.getGroups().forEach(group -> GroupManager.setGroup(group.getGroupName(), group.getPriority(), group.getCommands()));
}
Storage.ConfigSections.Settings.CUSTOM_UNKNOWN_COMMAND.MESSAGE = unknownCommandPacket.getMessage();