ForgePatch/forge/patches/minecraft_server/net/minecraft/src/SlotCrafting.java.patch

21 lines
758 B
Diff
Raw Normal View History

--- ../src_base/minecraft_server/net/minecraft/src/SlotCrafting.java 0000-00-00 00:00:00.000000000 -0000
+++ ../src_work/minecraft_server/net/minecraft/src/SlotCrafting.java 0000-00-00 00:00:00.000000000 -0000
2012-01-15 19:16:08 +00:00
@@ -1,5 +1,7 @@
package net.minecraft.src;
2012-01-15 19:16:08 +00:00
+import net.minecraft.src.forge.ForgeHooks;
+
public class SlotCrafting extends Slot
{
/** The craft matrix inventory linked to this result slot. */
@@ -88,7 +90,8 @@
this.thePlayer.addStat(AchievementList.bookcase, 1);
}
2012-03-05 21:20:03 +00:00
- ModLoader.TakenFromCrafting(this.thePlayer, par1ItemStack);
+ ModLoader.takenFromCrafting(this.thePlayer, par1ItemStack, craftMatrix);
+ ForgeHooks.onTakenFromCrafting(thePlayer, par1ItemStack, craftMatrix);
}
/**