配置文件及文件监听变化

This commit is contained in:
Izzel_Aliz
2018-04-06 15:09:36 +08:00
parent 4bb5df7cbb
commit d8f8ffc5a3
7 changed files with 142 additions and 27 deletions

View File

@@ -274,6 +274,8 @@ public class Main extends JavaPlugin implements Listener {
if (connection != null && connection.isConnection()) {
connection.closeConnection();
}
TLib.unload();
// 关闭服务器
Bukkit.shutdown();