mirror of
https://e.coding.net/circlecloud/ProtectItem.git
synced 2024-12-26 20:38:49 +00:00
remove string in Main.class's switch case...
Signed-off-by: j502647092 <jtb1@163.com>
This commit is contained in:
parent
6583c2538f
commit
35ed36c8a0
@ -51,15 +51,10 @@ public class Main extends JavaPlugin {
|
||||
p.sendMessage("手上物品类型名称为: " + item.getType().name());
|
||||
return true;
|
||||
case 1:
|
||||
switch (args[0]) {
|
||||
case "reload":
|
||||
if (args[0].equalsIgnoreCase("reload")) {
|
||||
this.reloadConfig();
|
||||
p.sendMessage("\u00a7a配置文件已重载...");
|
||||
return true;
|
||||
case "add":
|
||||
case "del":
|
||||
return true;
|
||||
default:
|
||||
}
|
||||
break;
|
||||
default:
|
||||
|
Loading…
Reference in New Issue
Block a user