From 55a85357a6d5118fbb2d3117d596ae83aae34239 Mon Sep 17 00:00:00 2001 From: md_5 Date: Sun, 13 Mar 2016 09:48:23 +1100 Subject: [PATCH] SPIGOT-1871: Fix wrong argument order in CraftMerchantRecipe --- .../org/bukkit/craftbukkit/inventory/CraftMerchantRecipe.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main/java/org/bukkit/craftbukkit/inventory/CraftMerchantRecipe.java b/src/main/java/org/bukkit/craftbukkit/inventory/CraftMerchantRecipe.java index 0e029a95ba..9bf5f2f3b8 100644 --- a/src/main/java/org/bukkit/craftbukkit/inventory/CraftMerchantRecipe.java +++ b/src/main/java/org/bukkit/craftbukkit/inventory/CraftMerchantRecipe.java @@ -19,9 +19,9 @@ public class CraftMerchantRecipe extends MerchantRecipe { public CraftMerchantRecipe(ItemStack result, int uses, int maxUses, boolean experienceReward) { super(result, uses, maxUses, experienceReward); this.handle = new net.minecraft.server.MerchantRecipe( + null, + null, CraftItemStack.asNMSCopy(result), - null, - null, uses, maxUses, this