9
0
mirror of https://github.com/Xiao-MoMi/Custom-Crops.git synced 2025-12-28 11:29:19 +00:00

fix possible NPE from plant action

This commit is contained in:
XiaoMoMi
2025-06-01 01:56:19 +08:00
parent 09c98db378
commit 37a8f24263
2 changed files with 7 additions and 10 deletions

View File

@@ -237,7 +237,7 @@ public class BukkitConfigManager extends ConfigManager {
save = true;
}
} catch (Exception e) {
plugin.getPluginLogger().warn("Error occurs during parsing configs", e);
plugin.getPluginLogger().warn("Error occurs during parsing config section " + entry.getKey() + " in file " + subFile.toPath(), e);
}
}
}