Skip to content

Commit

Permalink
make ItemCombinerMenu#inputSlots mutable
Browse files Browse the repository at this point in the history
close #1347
  • Loading branch information
Cheaterpaul committed Mar 17, 2024
1 parent 9ab8835 commit 297b6e4
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,9 @@

import net.minecraft.world.Container;
import net.minecraft.world.inventory.ItemCombinerMenu;
import org.spongepowered.asm.mixin.Final;
import org.spongepowered.asm.mixin.Mixin;
import org.spongepowered.asm.mixin.Mutable;
import org.spongepowered.asm.mixin.gen.Accessor;

@Mixin(ItemCombinerMenu.class)
Expand All @@ -12,5 +14,6 @@ public interface ItemCombinerMenuAccessor {
Container getInputSlots();

@Accessor("inputSlots")
@Mutable
void setInputSlots(Container inputSlots);
}

0 comments on commit 297b6e4

Please sign in to comment.