diff --git a/src/main/java/ml/unbreakinggold/datapackinstaller/mixin/client/GameMenuScreenMixin.java b/src/main/java/ml/unbreakinggold/datapackinstaller/mixin/client/GameMenuScreenMixin.java index b13cda3..3e5bb5c 100644 --- a/src/main/java/ml/unbreakinggold/datapackinstaller/mixin/client/GameMenuScreenMixin.java +++ b/src/main/java/ml/unbreakinggold/datapackinstaller/mixin/client/GameMenuScreenMixin.java @@ -52,7 +52,7 @@ private void onInitWidgets(CallbackInfo ci, GridWidget gridWidget, GridWidget.Ad } return new PackScreen(this.client.getServer().getDataPackManager(), (dataPackManager) -> { - Collection enabledProfiles = dataPackManager.getEnabledIds(); + Collection enabledProfiles = dataPackManager.getEnabledNames(); this.client.getServer().reloadResources(enabledProfiles); diff --git a/src/main/resources/fabric.mod.json b/src/main/resources/fabric.mod.json index 204a1d1..9eda5fe 100644 --- a/src/main/resources/fabric.mod.json +++ b/src/main/resources/fabric.mod.json @@ -26,6 +26,6 @@ ], "depends": { "fabricloader": ">=0.15.0", - "minecraft": ">=1.20.5" + "minecraft": ">=1.20.3" } }