We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d9def11 commit 094660cCopy full SHA for 094660c
src/main/java/aplini/ipacwhitelist/IpacWhitelist.java
@@ -43,7 +43,7 @@ public void loadConfig(){
43
public void onEnable(){
44
45
// 连接到插件
46
- if(config.getBoolean("hook.AuthMe", true)){
+ if(Bukkit.getPluginManager().isPluginEnabled("AuthMe") && config.getBoolean("hook.AuthMe", true)){
47
getServer().getPluginManager().registerEvents(new authMe(), plugin);
48
}
49
if(Bukkit.getPluginManager().isPluginEnabled("PlaceholderAPI")){
0 commit comments