Skip to content

Commit

Permalink
Revert "Compat: Gate NEW descriptor filtering."
Browse files Browse the repository at this point in the history
  • Loading branch information
LlamaLad7 committed Aug 15, 2024
1 parent 2307a33 commit 4254da4
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ public BeforeNew(InjectionPointData data) {
}
ITargetSelectorConstructor targetSelector = (ITargetSelectorConstructor)member;
this.target = targetSelector.toCtorType();
this.desc = org.spongepowered.asm.mixin.FabricUtil.getCompatibility(data.getContext()) >= org.spongepowered.asm.mixin.FabricUtil.COMPATIBILITY_0_14_0 ? targetSelector.toCtorDesc() : null;
this.desc = targetSelector.toCtorDesc();
}

/**
Expand Down

0 comments on commit 4254da4

Please sign in to comment.