Update CraftBukkit to 1.6.1
This commit is contained in:
committed by
Wesley Wolfe
parent
f887b76a25
commit
6c09066e22
@@ -45,10 +45,6 @@ public class ContainerBeacon extends Container {
|
||||
icrafting.setContainerData(this, 2, this.i);
|
||||
}
|
||||
|
||||
public void b() {
|
||||
super.b();
|
||||
}
|
||||
|
||||
public TileEntityBeacon e() {
|
||||
return this.a;
|
||||
}
|
||||
@@ -62,7 +58,7 @@ public class ContainerBeacon extends Container {
|
||||
ItemStack itemstack = null;
|
||||
Slot slot = (Slot) this.c.get(i);
|
||||
|
||||
if (slot != null && slot.d()) {
|
||||
if (slot != null && slot.e()) {
|
||||
ItemStack itemstack1 = slot.getItem();
|
||||
|
||||
itemstack = itemstack1.cloneItemStack();
|
||||
@@ -72,7 +68,7 @@ public class ContainerBeacon extends Container {
|
||||
}
|
||||
|
||||
slot.a(itemstack1, itemstack);
|
||||
} else if (!this.f.d() && this.f.isAllowed(itemstack1) && itemstack1.count == 1) {
|
||||
} else if (!this.f.e() && this.f.isAllowed(itemstack1) && itemstack1.count == 1) {
|
||||
if (!this.a(itemstack1, 0, 1, false)) {
|
||||
return null;
|
||||
}
|
||||
@@ -91,7 +87,7 @@ public class ContainerBeacon extends Container {
|
||||
if (itemstack1.count == 0) {
|
||||
slot.set((ItemStack) null);
|
||||
} else {
|
||||
slot.e();
|
||||
slot.f();
|
||||
}
|
||||
|
||||
if (itemstack1.count == itemstack.count) {
|
||||
|
||||
Reference in New Issue
Block a user