mirror of
https://github.com/EarthMC/QuickShop-Reremake.git
synced 2026-11-25 18:09:48 -05:00
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
This commit is contained in:
1 parent
4ad63e3bb7
commit
4dea54ebd0
1 file changed
+2
-2
@@ -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.
|
||||
|
||||
Reference in new issue
Block a user