mirror of
https://e.coding.net/circlecloud/ProtectItem.git
synced 2024-11-17 14:18:46 +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());
|
p.sendMessage("手上物品类型名称为: " + item.getType().name());
|
||||||
return true;
|
return true;
|
||||||
case 1:
|
case 1:
|
||||||
switch (args[0]) {
|
if (args[0].equalsIgnoreCase("reload")) {
|
||||||
case "reload":
|
|
||||||
this.reloadConfig();
|
this.reloadConfig();
|
||||||
p.sendMessage("\u00a7a配置文件已重载...");
|
p.sendMessage("\u00a7a配置文件已重载...");
|
||||||
return true;
|
return true;
|
||||||
case "add":
|
|
||||||
case "del":
|
|
||||||
return true;
|
|
||||||
default:
|
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
default:
|
default:
|
||||||
|
Loading…
Reference in New Issue
Block a user