Skip to content

Commit

Permalink
Fix MerchantOfferAccessor
Browse files Browse the repository at this point in the history
  • Loading branch information
ImMorpheus committed May 14, 2024
1 parent f77cc3b commit aff621e
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -26,12 +26,13 @@

import net.minecraft.world.item.trading.MerchantOffer;
import org.spongepowered.asm.mixin.Mixin;
import org.spongepowered.asm.mixin.Mutable;
import org.spongepowered.asm.mixin.gen.Accessor;

@Mixin(MerchantOffer.class)
public interface MerchantOfferAccessor {

@Accessor("rewardExp") void accessor$rewardExp(final boolean rewardExp);
@Accessor("rewardExp") @Mutable void accessor$rewardExp(final boolean rewardExp);

@Accessor("demand") void accessor$demand(final int demand);

Expand Down

0 comments on commit aff621e

Please sign in to comment.