diff --git a/fabric-resource-conditions-api-v1/src/main/java/net/fabricmc/fabric/mixin/resource/conditions/LootManagerMixin.java b/fabric-resource-conditions-api-v1/src/main/java/net/fabricmc/fabric/mixin/resource/conditions/LootManagerMixin.java index cd45e6328..c4679b6b8 100644 --- a/fabric-resource-conditions-api-v1/src/main/java/net/fabricmc/fabric/mixin/resource/conditions/LootManagerMixin.java +++ b/fabric-resource-conditions-api-v1/src/main/java/net/fabricmc/fabric/mixin/resource/conditions/LootManagerMixin.java @@ -60,7 +60,7 @@ private static void load(LootDataType type, ResourceManager resourceManager, Exe } // runAsync Runnable in load method - @Inject(method = "method_51189", at = @At("HEAD")) + @Inject(method = {"method_51189", "m_278660_"}, at = @At("HEAD"), require = 1) private static void runAsync(ResourceManager resourceManager, LootDataType lootDataType, Map map, CallbackInfo ci) { assert ResourceConditionsImpl.CURRENT_REGISTRIES.get() == null; ResourceConditionsImpl.CURRENT_REGISTRIES.set(Objects.requireNonNull(dynamicRegistryManagerMap.remove(map))); @@ -88,7 +88,7 @@ private static void applyResourceConditions(LootDataType lootDataType, ResourceM } // runAsync Runnable in load method - @Inject(method = "method_51189", at = @At("RETURN")) + @Inject(method = {"method_51189", "m_278660_"}, at = @At("RETURN"), require = 1) private static void runAsyncEnd(ResourceManager resourceManager, LootDataType lootDataType, Map map, CallbackInfo ci) { ResourceConditionsImpl.CURRENT_REGISTRIES.remove(); } diff --git a/gradle.properties b/gradle.properties index e920724b0..8c731e140 100644 --- a/gradle.properties +++ b/gradle.properties @@ -68,5 +68,5 @@ fabric-client-tags-api-v1-version=1.1.1 loom.platform=forge forge_version=1.20.1-47.2.6 pack_format=15 -forgified_version=1.10.3 +forgified_version=1.10.4 forge_fabric_loader_version=2.6.0+0.15.0+1.20.1