1
0
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:
j502647092 2015-05-05 22:15:47 +08:00
parent 6583c2538f
commit 35ed36c8a0

View File

@ -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: