mirror of
https://github.com/PaperMC/Paper.git
synced 2025-08-15 04:05:50 -07:00
Update CraftBukkit to Minecraft 1.4(.2).
This commit is contained in:
@@ -40,7 +40,7 @@ public class ContainerBrewingStand extends Container {
|
||||
|
||||
public void addSlotListener(ICrafting icrafting) {
|
||||
super.addSlotListener(icrafting);
|
||||
icrafting.setContainerData(this, 0, this.brewingStand.t_());
|
||||
icrafting.setContainerData(this, 0, this.brewingStand.x_());
|
||||
}
|
||||
|
||||
public void b() {
|
||||
@@ -50,12 +50,12 @@ public class ContainerBrewingStand extends Container {
|
||||
while (iterator.hasNext()) {
|
||||
ICrafting icrafting = (ICrafting) iterator.next();
|
||||
|
||||
if (this.g != this.brewingStand.t_()) {
|
||||
icrafting.setContainerData(this, 0, this.brewingStand.t_());
|
||||
if (this.g != this.brewingStand.x_()) {
|
||||
icrafting.setContainerData(this, 0, this.brewingStand.x_());
|
||||
}
|
||||
}
|
||||
|
||||
this.g = this.brewingStand.t_();
|
||||
this.g = this.brewingStand.x_();
|
||||
}
|
||||
|
||||
public boolean c(EntityHuman entityhuman) {
|
||||
@@ -63,7 +63,7 @@ public class ContainerBrewingStand extends Container {
|
||||
return this.brewingStand.a(entityhuman);
|
||||
}
|
||||
|
||||
public ItemStack b(int i) {
|
||||
public ItemStack b(EntityHuman entityhuman, int i) {
|
||||
ItemStack itemstack = null;
|
||||
Slot slot = (Slot) this.b.get(i);
|
||||
|
||||
@@ -109,7 +109,7 @@ public class ContainerBrewingStand extends Container {
|
||||
return null;
|
||||
}
|
||||
|
||||
slot.b(itemstack1);
|
||||
slot.a(entityhuman, itemstack1);
|
||||
}
|
||||
|
||||
return itemstack;
|
||||
|
Reference in New Issue
Block a user