mirror of
https://github.com/Xiao-MoMi/Custom-Crops.git
synced 2025-12-23 00:49:33 +00:00
lands + code clean
This commit is contained in:
@@ -196,6 +196,14 @@ public class ConfigReader {
|
||||
AdventureManager.consoleMessage("<gradient:#ff206c:#fdee55>[CustomCrops] </gradient><color:#FFEBCD>已启用 <gold>Towny <color:#FFEBCD>保护!");
|
||||
}
|
||||
}
|
||||
if(config.getBoolean("config.integration.Lands",false)){
|
||||
if(Bukkit.getPluginManager().getPlugin("Lands") == null){
|
||||
CustomCrops.instance.getLogger().warning("未检测到插件 Lands!");
|
||||
}else {
|
||||
integration.add(new Lands());
|
||||
AdventureManager.consoleMessage("<gradient:#ff206c:#fdee55>[CustomCrops] </gradient><color:#FFEBCD>已启用 <gold>Lands <color:#FFEBCD>保护!");
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user