SPIGOT-1871: Fix wrong argument order in CraftMerchantRecipe

By: md_5 <git@md-5.net>
This commit is contained in:
CraftBukkit/Spigot 2016-03-13 09:48:23 +11:00
parent 7011412863
commit 9382269cf0

View file

@ -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