mirror of
https://github.com/barkeser2002/CatServer.git
synced 2026-09-25 07:19:56 +03:00
12 lines
449 B
Diff
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)
|