Update to 1.21.6 using cosmos

This commit is contained in:
2025-06-28 04:05:44 +02:00
parent 948efe14fc
commit d76dd403fb
11 changed files with 219 additions and 151 deletions
@@ -28,11 +28,11 @@ public class BoosterCommand implements CommandExecutor {
@Override
public boolean onCommand(@NotNull CommandSender commandSender, @NotNull Command command, @NotNull String s, @NotNull String[] strings) {
if (!commandSender.hasPermission("boosters.list")) {
commandSender.sendMiniMessage("<red>You don't have permission for this command", null);
commandSender.sendRichMessage("<red>You don't have permission for this command");
return true;
}
commandSender.sendMiniMessage(Config.BOOSTER_MESSAGES.LIST_BOOSTER_MESSAGE, TagResolver.resolver(
commandSender.sendRichMessage(Config.BOOSTER_MESSAGES.LIST_BOOSTER_MESSAGE, TagResolver.resolver(
Placeholder.component("active_boosters", Component.join(JoinConfiguration.newlines(),
BoosterParser.parseBoosters(logger, boosterCache.getAllActiveBoosters(),
Config.BOOSTER_MESSAGES.ACTIVE_BOOSTER_PART, true))),