@@ -8,10 +8,10 @@
|
||||
public class MerchantRecipe {
|
||||
|
||||
public ItemStack buyingItem1;
|
||||
@@ -8,6 +10,18 @@
|
||||
public int uses;
|
||||
public int maxUses;
|
||||
public boolean rewardExp;
|
||||
@@ -12,6 +14,18 @@
|
||||
private int h;
|
||||
public float priceMultiplier;
|
||||
public int xp;
|
||||
+ // CraftBukkit start
|
||||
+ private CraftMerchantRecipe bukkitHandle;
|
||||
+
|
||||
@@ -19,11 +19,11 @@
|
||||
+ return (bukkitHandle == null) ? bukkitHandle = new CraftMerchantRecipe(this) : bukkitHandle;
|
||||
+ }
|
||||
+
|
||||
+ public MerchantRecipe(ItemStack itemstack, ItemStack itemstack1, ItemStack itemstack2, int i, int j, CraftMerchantRecipe bukkit) {
|
||||
+ this(itemstack, itemstack1, itemstack2, i, j);
|
||||
+ public MerchantRecipe(ItemStack itemstack, ItemStack itemstack1, ItemStack itemstack2, int uses, int maxUses, int experience, float priceMultiplier, CraftMerchantRecipe bukkit) {
|
||||
+ this(itemstack, itemstack1, itemstack2, uses, maxUses, experience, priceMultiplier);
|
||||
+ this.bukkitHandle = bukkit;
|
||||
+ }
|
||||
+ // CraftBukkit end
|
||||
|
||||
public MerchantRecipe(NBTTagCompound nbttagcompound) {
|
||||
this.buyingItem1 = ItemStack.a;
|
||||
this.rewardExp = true;
|
||||
|
||||
Reference in New Issue
Block a user