mirror of
https://e.coding.net/circlecloud/DataStorage.git
synced 2025-11-02 17:56:15 +00:00
@@ -1,5 +1,6 @@
|
|||||||
package cn.citycraft.DataStorage;
|
package cn.citycraft.DataStorage;
|
||||||
|
|
||||||
|
import org.bukkit.Bukkit;
|
||||||
import org.bukkit.command.Command;
|
import org.bukkit.command.Command;
|
||||||
import org.bukkit.command.CommandSender;
|
import org.bukkit.command.CommandSender;
|
||||||
import org.bukkit.configuration.ConfigurationSection;
|
import org.bukkit.configuration.ConfigurationSection;
|
||||||
@@ -94,6 +95,7 @@ public class DataStorage extends JavaPlugin {
|
|||||||
if (db != null) {
|
if (db != null) {
|
||||||
db.close();
|
db.close();
|
||||||
}
|
}
|
||||||
|
PluginAPI.PlaceholderUnhook("dd");
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
@@ -125,6 +127,8 @@ public class DataStorage extends JavaPlugin {
|
|||||||
});
|
});
|
||||||
if (result) {
|
if (result) {
|
||||||
this.getLogger().info("发现 PlaceholderAPI 已关联...");
|
this.getLogger().info("发现 PlaceholderAPI 已关联...");
|
||||||
|
} else {
|
||||||
|
Bukkit.getConsoleSender().sendMessage("§c发现 PlaceholderAPI 但是关联失败了!!!失败了!!!");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user