Files
2019-08-06 04:32:24 +08:00

12 lines
449 B
Diff

--- ../src-base/minecraft/net/minecraft/entity/NpcMerchant.java
+++ ../src-work/minecraft/net/minecraft/entity/NpcMerchant.java
@@ -41,7 +41,7 @@
@Nullable
public MerchantRecipeList getRecipes(EntityPlayer player)
{
- return this.recipeList;
+ return net.minecraftforge.event.ForgeEventFactory.listTradeOffers(this, player, this.recipeList);
}
public void setRecipes(@Nullable MerchantRecipeList recipeList)