mirror of
https://github.com/PaperMC/Paper.git
synced 2025-08-16 04:33:56 -07:00
@@ -14,7 +14,7 @@ index 0000000000000000000000000000000000000000..00000000000000000000000000000000
|
|||||||
public StonecutterMenu(int syncId, Inventory playerInventory, final ContainerLevelAccess context) {
|
public StonecutterMenu(int syncId, Inventory playerInventory, final ContainerLevelAccess context) {
|
||||||
super(MenuType.STONECUTTER, syncId);
|
super(MenuType.STONECUTTER, syncId);
|
||||||
- this.selectedRecipeIndex = DataSlot.standalone();
|
- this.selectedRecipeIndex = DataSlot.standalone();
|
||||||
+ this.selectedRecipeIndex = addDataSlot(DataSlot.shared(new int[1], 0)); // Paper - allow replication
|
+ this.selectedRecipeIndex = DataSlot.shared(new int[1], 0); // Paper - allow replication
|
||||||
this.recipes = Lists.newArrayList();
|
this.recipes = Lists.newArrayList();
|
||||||
this.input = ItemStack.EMPTY;
|
this.input = ItemStack.EMPTY;
|
||||||
this.slotUpdateListener = () -> {
|
this.slotUpdateListener = () -> {
|
||||||
|
Reference in New Issue
Block a user