Skip to content

Commit

Permalink
fix: 🐛 Fixed enabledItems config to get correct default value prefilled
Browse files Browse the repository at this point in the history
  • Loading branch information
P3pp3rF1y committed Dec 29, 2024
1 parent a252b58 commit d465f0b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ loader_version_range=[4,)
mod_id=sophisticatedcore
mod_name=Sophisticated Core
mod_license=GNU General Public License v3.0
mod_version=1.0.5
mod_version=1.0.6
mod_group_id=sophisticatedcore
mod_authors=P3pp3rF1y
mod_description=A library / shared functionality mod for Sophisticated Storage and Backpacks
Expand Down
1 change: 1 addition & 0 deletions src/main/java/net/p3pp3rf1y/sophisticatedcore/Config.java
Original file line number Diff line number Diff line change
Expand Up @@ -93,6 +93,7 @@ private void addEnabledItemToConfig(ResourceLocation itemRegistryName) {
List<String> list = itemsEnableList.get();
list.add(itemRegistryName + "|true");
itemsEnableList.set(list);
COMMON_SPEC.save();
}

private void loadEnabledMap() {
Expand Down

0 comments on commit d465f0b

Please sign in to comment.