9
0
mirror of https://github.com/Xiao-MoMi/Custom-Crops.git synced 2025-12-26 18:39:17 +00:00
This commit is contained in:
XiaoMoMi
2024-12-10 18:36:44 +08:00
parent 25654d8cd3
commit e181249e38
6 changed files with 38 additions and 13 deletions

View File

@@ -487,7 +487,7 @@ public abstract class ConfigManager implements ConfigLoader, Reloadable {
}
protected void addDefaultNamespace(File file) {
boolean hasNamespace = PluginUtils.isEnabled("ItemsAdder");
boolean hasNamespace = PluginUtils.isEnabled("ItemsAdder") || PluginUtils.isEnabled("CraftEngine");
String line;
StringBuilder sb = new StringBuilder();
try (BufferedReader reader = new BufferedReader(new InputStreamReader(new FileInputStream(file), StandardCharsets.UTF_8))) {