This commit is contained in:
parent
7fd8f8450c
commit
0c3c0e0726
2
pom.xml
2
pom.xml
@ -6,7 +6,7 @@
|
||||
|
||||
<groupId>cn.lunadeer</groupId>
|
||||
<artifactId>LiteWorldEdit</artifactId>
|
||||
<version>2.4.3.8</version>
|
||||
<version>2.4.3.9</version>
|
||||
<packaging>jar</packaging>
|
||||
|
||||
<name>LiteWorldEdit</name>
|
||||
|
@ -5,6 +5,7 @@ import cn.lunadeer.liteworldedit.JobGenerator.Empty;
|
||||
import cn.lunadeer.liteworldedit.JobGenerator.Fill;
|
||||
import cn.lunadeer.liteworldedit.JobGenerator.OverLay;
|
||||
import cn.lunadeer.liteworldedit.Jobs.Job;
|
||||
import cn.lunadeer.liteworldedit.Managers.ConfigManager;
|
||||
import cn.lunadeer.liteworldedit.Managers.Point;
|
||||
import org.bukkit.Location;
|
||||
import org.bukkit.Material;
|
||||
@ -102,11 +103,11 @@ public class Commands implements TabExecutor {
|
||||
if (!player.isOp()) {
|
||||
Notification.error(player, "你没有权限。");
|
||||
} else {
|
||||
LiteWorldEdit.instance.reloadConfig();
|
||||
LiteWorldEdit.config.reload();
|
||||
Notification.info(player, "已重载配置文件。");
|
||||
}
|
||||
} else {
|
||||
LiteWorldEdit.instance.reloadConfig();
|
||||
LiteWorldEdit.config.reload();
|
||||
LoggerX.info("已重载配置文件。");
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user