Skip to content

Commit

Permalink
Merge branch 'neoforged:1.21.x' into 1.21.x-render-middleware
Browse files Browse the repository at this point in the history
  • Loading branch information
Argon4W authored Oct 31, 2024
2 parents 8b99c43 + 62eb61a commit 07cba15
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,6 @@
import net.minecraft.data.CachedOutput;
import net.minecraft.data.DataProvider;
import net.minecraft.data.PackOutput;
import net.minecraft.resources.RegistryOps;
import net.minecraft.resources.ResourceKey;
import net.minecraft.resources.ResourceLocation;
import net.minecraft.tags.TagKey;
Expand Down Expand Up @@ -63,7 +62,7 @@ public CompletableFuture<?> run(CachedOutput cache) {
return lookupProvider.thenCompose(provider -> {
gather(provider);

final DynamicOps<JsonElement> dynamicOps = RegistryOps.create(JsonOps.INSTANCE, provider);
final DynamicOps<JsonElement> dynamicOps = provider.createSerializationContext(JsonOps.INSTANCE);

return CompletableFuture.allOf(this.builders.entrySet().stream().map(entry -> {
DataMapType<?, ?> type = entry.getKey();
Expand Down

0 comments on commit 07cba15

Please sign in to comment.