Update for 1.0.0

This commit is contained in:
Erik Broes
2011-11-20 00:01:14 -08:00
committed by Erik Broes
parent 589f66bd1b
commit 345ea36c7b
153 changed files with 6128 additions and 4617 deletions

View File

@@ -4,19 +4,19 @@ public class Slot {
public final int index; // CraftBukkit - private -> public
public final IInventory inventory;
public int b;
public int c;
public int d;
public int e;
public Slot(IInventory iinventory, int i, int j, int k) {
this.inventory = iinventory;
this.index = i;
this.c = j;
this.d = k;
this.d = j;
this.e = k;
}
public void a(ItemStack itemstack) {
this.c();
public void b(ItemStack itemstack) {
this.d();
}
public boolean isAllowed(ItemStack itemstack) {
@@ -27,20 +27,20 @@ public class Slot {
return this.inventory.getItem(this.index);
}
public boolean b() {
public boolean c() {
return this.getItem() != null;
}
public void c(ItemStack itemstack) {
this.inventory.setItem(this.index, itemstack);
this.c();
this.d();
}
public void c() {
public void d() {
this.inventory.update();
}
public int d() {
public int a() {
return this.inventory.getMaxStackSize();
}