SPIGOT-1871: Fix wrong argument order in CraftMerchantRecipe
By: md_5 <git@md-5.net>
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user