mirror of
https://github.com/PaperMC/Paper.git
synced 2025-03-19 05:31:32 +01:00
SPIGOT-1871: Fix wrong argument order in CraftMerchantRecipe
By: md_5 <git@md-5.net>
This commit is contained in:
parent
7011412863
commit
9382269cf0
1 changed files with 2 additions and 2 deletions
|
@ -19,9 +19,9 @@ public class CraftMerchantRecipe extends MerchantRecipe {
|
||||||
public CraftMerchantRecipe(ItemStack result, int uses, int maxUses, boolean experienceReward) {
|
public CraftMerchantRecipe(ItemStack result, int uses, int maxUses, boolean experienceReward) {
|
||||||
super(result, uses, maxUses, experienceReward);
|
super(result, uses, maxUses, experienceReward);
|
||||||
this.handle = new net.minecraft.server.MerchantRecipe(
|
this.handle = new net.minecraft.server.MerchantRecipe(
|
||||||
|
null,
|
||||||
|
null,
|
||||||
CraftItemStack.asNMSCopy(result),
|
CraftItemStack.asNMSCopy(result),
|
||||||
null,
|
|
||||||
null,
|
|
||||||
uses,
|
uses,
|
||||||
maxUses,
|
maxUses,
|
||||||
this
|
this
|
||||||
|
|
Loading…
Add table
Reference in a new issue