Add a check for duplicate config command names and fix duplicate name

This commit is contained in:
s809
2025-01-18 16:26:33 +05:00
parent a908fcdb69
commit 54a7cbcb84
@@ -1437,7 +1437,7 @@ public class Config
.build();
public static ConfigEntry<EDhApiLoggerMode> logWorldGenLoadEvent = new ConfigEntry.Builder<EDhApiLoggerMode>()
.setChatCommandName("logging.logWorldGenPerformance")
.setChatCommandName("logging.logWorldGenLoadEvent")
.set(EDhApiLoggerMode.LOG_ERROR_TO_CHAT_AND_INFO_TO_FILE)
.comment(""
+ "If enabled, the mod will log information about the world generation process. \n"