From 9f3e2a9af6091ba60f700bd292ac074ca0ee249e Mon Sep 17 00:00:00 2001 From: sandtechnology Date: Wed, 11 Aug 2021 02:48:21 +0800 Subject: [PATCH] Remove redundant info message and variable in Info command --- .../quickshop/command/subcommand/SubCommand_Info.java | 11 +---------- 1 file changed, 1 insertion(+), 10 deletions(-) diff --git a/src/main/java/org/maxgamer/quickshop/command/subcommand/SubCommand_Info.java b/src/main/java/org/maxgamer/quickshop/command/subcommand/SubCommand_Info.java index aba2ae82e..382d4c786 100644 --- a/src/main/java/org/maxgamer/quickshop/command/subcommand/SubCommand_Info.java +++ b/src/main/java/org/maxgamer/quickshop/command/subcommand/SubCommand_Info.java @@ -39,13 +39,11 @@ public class SubCommand_Info implements CommandHandler { @Override public void onCommand(@NotNull CommandSender sender, @NotNull String commandLabel, @NotNull String[] cmdArg) { - int buying, selling, doubles, chunks, worlds, doubleschests; + int buying, selling, chunks, worlds; buying = 0; selling = 0; - doubles = 0; chunks = 0; worlds = 0; - doubleschests = 0; int nostock = 0; for (Map> inWorld : @@ -78,13 +76,6 @@ public class SubCommand_Info implements CommandHandler { + " chunks spread over " + worlds + " worlds."); - MsgUtil.sendDirectMessage(sender, - ChatColor.GREEN - + "" - + doubles - + " double shops. (" - + doubleschests - + " shops created on double chest.)"); MsgUtil.sendDirectMessage(sender, ChatColor.GREEN + ""