Skip to content

Commit

Permalink
Fixes for older Minecraft version
Browse files Browse the repository at this point in the history
  • Loading branch information
MacaylaMarvelous81 committed Aug 5, 2024
1 parent ee087dd commit dd0f2ce
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ private void onInitWidgets(CallbackInfo ci, GridWidget gridWidget, GridWidget.Ad
}

return new PackScreen(this.client.getServer().getDataPackManager(), (dataPackManager) -> {
Collection<String> enabledProfiles = dataPackManager.getEnabledIds();
Collection<String> enabledProfiles = dataPackManager.getEnabledNames();

this.client.getServer().reloadResources(enabledProfiles);

Expand Down
2 changes: 1 addition & 1 deletion src/main/resources/fabric.mod.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,6 @@
],
"depends": {
"fabricloader": ">=0.15.0",
"minecraft": ">=1.20.5"
"minecraft": ">=1.20.3"
}
}

0 comments on commit dd0f2ce

Please sign in to comment.