9
0
mirror of https://github.com/Xiao-MoMi/Custom-Crops.git synced 2025-12-26 10:29:10 +00:00
This commit is contained in:
Xiao-MoMi
2022-09-06 22:28:03 +08:00
parent d4e8c1ce85
commit b306dd3121
40 changed files with 416 additions and 63 deletions

View File

@@ -76,10 +76,9 @@ public final class CustomCrops extends JavaPlugin {
AdventureManager.consoleMessage("[CustomCrops] Running on <white>" + Bukkit.getVersion());
ConfigReader.reloadConfig();
if (!Objects.equals(ConfigReader.Config.version, "5")){
if (!Objects.equals(ConfigReader.Config.version, "6")){
ConfigUtil.update();
}
if(Bukkit.getPluginManager().getPlugin("PlaceHolderAPI") != null){
placeholders = new Placeholders();
placeholders.register();