Skip to content

Commit

Permalink
Fix no refmap
Browse files Browse the repository at this point in the history
  • Loading branch information
kappa-maintainer committed May 14, 2024
1 parent e93af32 commit 65bd3d0
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
import java.util.UUID;
import java.util.function.Function;

@Mixin(PerkAttributeType.class)
@Mixin(value = PerkAttributeType.class, remap = false)
public class PerkAttributeTypeMixin {
@Redirect(method = {"onApply", "onRemove", "hasTypeApplied"}, at = @At(value = "INVOKE", target = "Ljava/util/Map;computeIfAbsent(Ljava/lang/Object;Ljava/util/function/Function;)Ljava/lang/Object;"))
private Object redirectComputeIfAbsent(Map<Object, Object> map, Object key, Function<Object, Object> function) {
Expand Down

0 comments on commit 65bd3d0

Please sign in to comment.