diff --git a/src/main/java/cn/citycraft/DataStorage/DataStorage.java b/src/main/java/cn/citycraft/DataStorage/DataStorage.java index 87d55e9..7f2590a 100644 --- a/src/main/java/cn/citycraft/DataStorage/DataStorage.java +++ b/src/main/java/cn/citycraft/DataStorage/DataStorage.java @@ -1,5 +1,6 @@ package cn.citycraft.DataStorage; +import org.bukkit.Bukkit; import org.bukkit.command.Command; import org.bukkit.command.CommandSender; import org.bukkit.configuration.ConfigurationSection; @@ -94,6 +95,7 @@ public class DataStorage extends JavaPlugin { if (db != null) { db.close(); } + PluginAPI.PlaceholderUnhook("dd"); } @Override @@ -125,6 +127,8 @@ public class DataStorage extends JavaPlugin { }); if (result) { this.getLogger().info("发现 PlaceholderAPI 已关联..."); + } else { + Bukkit.getConsoleSender().sendMessage("§c发现 PlaceholderAPI 但是关联失败了!!!失败了!!!"); } }