mirror of
https://github.com/PaperMC/Paper.git
synced 2025-07-31 20:22:05 -07:00
Add back missing hunk in AbstractFurnaceBlockEntity
This commit is contained in:
@@ -229,7 +229,7 @@
|
||||
player.awardRecipes(recipesToAwardAndPopExperience);
|
||||
|
||||
for (RecipeHolder<?> recipeHolder : recipesToAwardAndPopExperience) {
|
||||
@@ -356,26 +_,52 @@
|
||||
@@ -356,30 +_,60 @@
|
||||
}
|
||||
|
||||
public List<RecipeHolder<?>> getRecipesToAwardAndPopExperience(ServerLevel level, Vec3 popVec) {
|
||||
@@ -285,3 +285,11 @@
|
||||
}
|
||||
|
||||
@Override
|
||||
public void fillStackedContents(StackedItemContents stackedContents) {
|
||||
+ // Paper start - don't account fuel stack (fixes MC-243057)
|
||||
+ stackedContents.accountStack(this.items.get(SLOT_INPUT));
|
||||
+ stackedContents.accountStack(this.items.get(SLOT_RESULT));
|
||||
+ // Paper end - don't account fuel stack (fixes MC-243057)
|
||||
for (ItemStack itemStack : this.items) {
|
||||
stackedContents.accountStack(itemStack);
|
||||
}
|
||||
|
@@ -166,9 +166,8 @@
|
||||
return potionBrewing.isIngredient(stack);
|
||||
} else {
|
||||
return index == 4
|
||||
- ? stack.is(ItemTags.BREWING_FUEL)
|
||||
? stack.is(ItemTags.BREWING_FUEL)
|
||||
- : (stack.is(Items.POTION) || stack.is(Items.SPLASH_POTION) || stack.is(Items.LINGERING_POTION) || stack.is(Items.GLASS_BOTTLE))
|
||||
+ ? stack.is(net.minecraft.tags.ItemTags.BREWING_FUEL)
|
||||
+ : (stack.is(Items.POTION) || stack.is(Items.SPLASH_POTION) || stack.is(Items.LINGERING_POTION) || stack.is(Items.GLASS_BOTTLE) || potionBrewing.isCustomInput(stack)) // Paper - Custom Potion Mixes
|
||||
&& this.getItem(index).isEmpty();
|
||||
}
|
||||
|
Reference in New Issue
Block a user