geforkt von Mirrors/Paper
SPIGOT-1871: Fix wrong argument order in CraftMerchantRecipe
Dieser Commit ist enthalten in:
Ursprung
cbebfa439f
Commit
55a85357a6
@ -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
|
||||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren