summaryrefslogtreecommitdiffstats
path: root/nms-patches/ContainerBrewingStand.patch
diff options
context:
space:
mode:
Diffstat (limited to 'nms-patches/ContainerBrewingStand.patch')
-rw-r--r--nms-patches/ContainerBrewingStand.patch6
1 files changed, 3 insertions, 3 deletions
diff --git a/nms-patches/ContainerBrewingStand.patch b/nms-patches/ContainerBrewingStand.patch
index dc38c122..6bacb345 100644
--- a/nms-patches/ContainerBrewingStand.patch
+++ b/nms-patches/ContainerBrewingStand.patch
@@ -23,8 +23,8 @@
public ContainerBrewingStand(PlayerInventory playerinventory, IInventory iinventory) {
+ player = playerinventory; // CraftBukkit
this.brewingStand = iinventory;
- this.a((Slot) (new ContainerBrewingStand.SlotPotionBottle(playerinventory.player, iinventory, 0, 56, 51)));
- this.a((Slot) (new ContainerBrewingStand.SlotPotionBottle(playerinventory.player, iinventory, 1, 79, 58)));
+ this.a((Slot) (new ContainerBrewingStand.SlotPotionBottle(iinventory, 0, 56, 51)));
+ this.a((Slot) (new ContainerBrewingStand.SlotPotionBottle(iinventory, 1, 79, 58)));
@@ -54,6 +65,7 @@
}
@@ -33,7 +33,7 @@
return this.brewingStand.a(entityhuman);
}
-@@ -181,4 +193,17 @@
+@@ -178,4 +190,17 @@
return item == Items.POTION || item == Items.SPLASH_POTION || item == Items.LINGERING_POTION || item == Items.GLASS_BOTTLE;
}
}