From 4e4cde4816dbc6484533b68085aa608b0ed610b6 Mon Sep 17 00:00:00 2001 From: blablubbabc Date: Fri, 22 Feb 2019 19:15:59 +0100 Subject: [PATCH] Fix experience reward flag gets lost during MerchantRecipe conversion --- .../org/bukkit/craftbukkit/inventory/CraftMerchantRecipe.java | 1 + 1 file changed, 1 insertion(+) diff --git a/src/main/java/org/bukkit/craftbukkit/inventory/CraftMerchantRecipe.java b/src/main/java/org/bukkit/craftbukkit/inventory/CraftMerchantRecipe.java index 2c51fd8b95..1730cc93b5 100644 --- a/src/main/java/org/bukkit/craftbukkit/inventory/CraftMerchantRecipe.java +++ b/src/main/java/org/bukkit/craftbukkit/inventory/CraftMerchantRecipe.java @@ -26,6 +26,7 @@ public class CraftMerchantRecipe extends MerchantRecipe { maxUses, this ); + this.setExperienceReward(experienceReward); } @Override