From 4dea54ebd02f37a87941a0efdfffe43acf25bf32 Mon Sep 17 00:00:00 2001 From: Chris <65610536+Chris6ix@users.noreply.github.com> Date: Sat, 12 Jun 2021 08:53:22 +0200 Subject: [PATCH] Improvements in SubCommand_CleanGhost.java (#1022) * Questions in SubCommand_CleanGhost.java Can you please explain "Starting checking the shop be ghost, all does not exist shop will be removed..." a little better...not sure what it means... (line 57) What do you mean by "posting" (to main server thread)? (line 110) What exactly is meant by "disallow create the shop"? (line 117) (Maybe that its not allowed to create a shop in this location?) * Improved SubCommand_CleanGhost.java --- .../quickshop/command/subcommand/SubCommand_CleanGhost.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main/java/org/maxgamer/quickshop/command/subcommand/SubCommand_CleanGhost.java b/src/main/java/org/maxgamer/quickshop/command/subcommand/SubCommand_CleanGhost.java index c6b918336..49e4fbb28 100644 --- a/src/main/java/org/maxgamer/quickshop/command/subcommand/SubCommand_CleanGhost.java +++ b/src/main/java/org/maxgamer/quickshop/command/subcommand/SubCommand_CleanGhost.java @@ -54,7 +54,7 @@ public class SubCommand_CleanGhost implements CommandProcesser { MsgUtil.sendMessage(sender, ChatColor.GREEN - + "Starting checking the shop be ghost, all does not exist shop will be removed..."); + + "Starting to check for ghost shops (missing container blocks). All non-existing shops will be removed..."); plugin.getServer().getScheduler().runTaskAsynchronously(plugin, () -> { MsgUtil.sendMessage(sender, ChatColor.GREEN + "Starting async thread, please wait..."); @@ -114,7 +114,7 @@ public class SubCommand_CleanGhost implements CommandProcesser { ChatColor.YELLOW + "Deleting shop " + shop - + " because the target location is nolonger a shop or disallow create the shop."); + + " because it is no longer on the target location or it is not allowed to create shops in this location."); shop.delete(); } }); // Post to server main thread to check.