mirror of
https://e.coding.net/circlecloud/ProtectItem.git
synced 2025-11-24 23:56:08 +00:00
remove string in Main.class's switch case...
Signed-off-by: j502647092 <jtb1@163.com>
This commit is contained in:
@@ -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:
|
||||||
|
|||||||
Reference in New Issue
Block a user