User: rednesto Date: 08 Jul 23 15:30 Revision: 315a7cf39c227e0c9fd3a182cfe2c1f7986baabd Summary: Update Forge Config class template Based on https://github.com/MinecraftForge/MinecraftForge/commit/c0fe1688d8a377e3d51e405b53708b56cfc14c52 TeamCity URL: https://ci.mcdev.io/viewModification.html?tab=vcsModificationFiles&modId=8600&personal=false Index: src/main/resources/fileTemplates/j2ee/forge/Forge (1.20+) Config.java.ft =================================================================== --- src/main/resources/fileTemplates/j2ee/forge/Forge (1.20+) Config.java.ft (revision 9764fc963eb34a8e89cbab181a893a7a9a26d4ce) +++ src/main/resources/fileTemplates/j2ee/forge/Forge (1.20+) Config.java.ft (revision 315a7cf39c227e0c9fd3a182cfe2c1f7986baabd) @@ -35,7 +35,7 @@ // a list of strings that are treated as resource locations for items private static final ForgeConfigSpec.ConfigValue> ITEM_STRINGS = BUILDER .comment("A list of items to log on common setup.") - .defineListAllowEmpty(Collections.singletonList("items"), () -> List.of("minecraft:iron_ingot"), Config::validateItemName); + .defineListAllowEmpty("items", List.of("minecraft:iron_ingot"), Config::validateItemName); static final ForgeConfigSpec SPEC = BUILDER.build();