craftbukkit/nms-patches/net/minecraft/world/inventory/SlotFurnaceResult.patch

12 lines
694 B
Diff
Raw Normal View History

2021-03-16 09:00:00 +11:00
--- a/net/minecraft/world/inventory/SlotFurnaceResult.java
+++ b/net/minecraft/world/inventory/SlotFurnaceResult.java
@@ -46,7 +46,7 @@
2021-11-22 09:00:00 +11:00
protected void checkTakeAchievements(ItemStack itemstack) {
itemstack.onCraftedBy(this.player.level, this.player, this.removeCount);
2021-06-11 15:00:00 +10:00
if (this.player instanceof EntityPlayer && this.container instanceof TileEntityFurnace) {
2021-11-22 09:00:00 +11:00
- ((TileEntityFurnace) this.container).awardUsedRecipesAndPopExperience((EntityPlayer) this.player);
+ ((TileEntityFurnace) this.container).awardUsedRecipesAndPopExperience((EntityPlayer) this.player, itemstack, this.removeCount); // CraftBukkit
2019-04-23 12:00:00 +10:00
}
2021-06-11 15:00:00 +10:00
this.removeCount = 0;