<commit_before>--- ../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
@@ -1,5 +1,7 @@
 package net.minecraft.src;
 
+import cpw.mods.fml.server.FMLServerHandler;
+
 public class SlotCrafting extends Slot
 {
     private final IInventory field_20103_a;
@@ -83,6 +85,7 @@
 
     public void func_20091_b(ItemStack p_20091_1_)
     {
+        FMLServerHandler.instance().onItemCrafted(field_25004_e, p_20091_1_, field_20096_b);
         this.func_48416_b(p_20091_1_);
 
         for (int var2 = 0; var2 < this.field_20103_a.func_83_a(); ++var2)<commit_msg>Server side fix for invalid parameter to onCrafting<commit_after>--- ../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
@@ -1,5 +1,7 @@
 package net.minecraft.src;
 
+import cpw.mods.fml.server.FMLServerHandler;
+
 public class SlotCrafting extends Slot
 {
     private final IInventory field_20103_a;
@@ -83,6 +85,7 @@
 
     public void func_20091_b(ItemStack p_20091_1_)
     {
+        FMLServerHandler.instance().onItemCrafted(field_25004_e, p_20091_1_, field_20103_a);
         this.func_48416_b(p_20091_1_);
 
         for (int var2 = 0; var2 < this.field_20103_a.func_83_a(); ++var2)
{'fraction_non_alphanumeric': 0.13480055020632736, 'fraction_numerical': 0.1623108665749656, 'mean_word_length': 3.9155405405405403, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 4, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2654586', 'n_tokens_mistral': 717, 'n_tokens_neox': 569, 'n_words': 88}