fix: 修复主类代码错误

Signed-off-by: 502647092 <admin@yumc.pw>
This commit is contained in:
502647092 2016-06-24 18:33:56 +08:00
parent 44842a38ec
commit b6240d71ef

View File

@ -18,6 +18,7 @@ import pw.yumc.Yum.commands.NetCommand;
import pw.yumc.Yum.commands.YumCommand; import pw.yumc.Yum.commands.YumCommand;
import pw.yumc.Yum.listeners.PluginNetworkListener; import pw.yumc.Yum.listeners.PluginNetworkListener;
import pw.yumc.Yum.listeners.SecurityListener; import pw.yumc.Yum.listeners.SecurityListener;
import pw.yumc.Yum.listeners.ThreadSafetyListener;
import pw.yumc.Yum.managers.ConfigManager; import pw.yumc.Yum.managers.ConfigManager;
import pw.yumc.Yum.managers.NetworkManager; import pw.yumc.Yum.managers.NetworkManager;
import pw.yumc.Yum.runnables.MainThreadCheckTask; import pw.yumc.Yum.runnables.MainThreadCheckTask;
@ -91,7 +92,7 @@ public class Yum extends JavaPlugin {
new PluginNetworkListener(this); new PluginNetworkListener(this);
PluginKit.scp("§a网络管理系统已启用..."); PluginKit.scp("§a网络管理系统已启用...");
} }
new new ThreadSafetyListener(this);
} }
/** /**