From 85e41b6c7e0c9599c8e27355ef8f5d5c8a25ed66 Mon Sep 17 00:00:00 2001 From: Andre601 <11576465+Andre601@users.noreply.github.com> Date: Sat, 17 Sep 2022 22:51:21 +0200 Subject: [PATCH] Fix wrong formatted messages in /asl reload --- .../advancedserverlist/core/commands/CommandHandler.java | 2 +- pom.xml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/core/src/main/java/ch/andre601/advancedserverlist/core/commands/CommandHandler.java b/core/src/main/java/ch/andre601/advancedserverlist/core/commands/CommandHandler.java index c1f2e0fd..4d99caf0 100644 --- a/core/src/main/java/ch/andre601/advancedserverlist/core/commands/CommandHandler.java +++ b/core/src/main/java/ch/andre601/advancedserverlist/core/commands/CommandHandler.java @@ -62,7 +62,7 @@ public void handle(CmdSender sender, String[] args){ } if(core.getFileHandler().reloadProfiles()){ - sender.sendMsg("%s Loaded %s Profile(s)!", prefix, core.getFileHandler().getProfiles()); + sender.sendMsg("%s Loaded %d Profile(s)!", prefix, core.getFileHandler().getProfiles().size()); }else{ sender.sendMsg("%s Cannot load Profiles!", errorPrefix); } diff --git a/pom.xml b/pom.xml index c9f08d4b..8e366621 100644 --- a/pom.xml +++ b/pom.xml @@ -12,7 +12,7 @@ UTF-8 - 1.6.1 + 1.6.2 Create multiple Server lists based on conditions. 16