Skip to content

Commit

Permalink
Disable remap in Schema2832Mixin
Browse files Browse the repository at this point in the history
  • Loading branch information
qouteall committed Aug 9, 2023
1 parent c1fd7fc commit a78b69c
Showing 1 changed file with 2 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@

import net.fabricmc.fabric.impl.dimension.TaggedChoiceExtension;

@Mixin(value = Schema2832.class, remap = false)
@Mixin(Schema2832.class)
public class Schema2832Mixin {
/**
* Make the DSL.taggedChoiceLazy to ignore mod custom generator types and not cause deserialization failure.
Expand All @@ -44,8 +44,7 @@ public class Schema2832Mixin {
value = "INVOKE",
target = "Lcom/mojang/datafixers/DSL;taggedChoiceLazy(Ljava/lang/String;Lcom/mojang/datafixers/types/Type;Ljava/util/Map;)Lcom/mojang/datafixers/types/templates/TaggedChoice;",
remap = false
),
remap = false
)
)
private static <K> TaggedChoice<K> redirectTaggedChoiceLazy(
String name, Type<K> keyType, Map<K, Supplier<TypeTemplate>> templates
Expand Down

0 comments on commit a78b69c

Please sign in to comment.