Update CraftBukkit to Minecraft 1.5

This commit is contained in:
Travis Watkins
2013-03-13 17:33:27 -05:00
parent ba6e4c38cf
commit 83d29e461c
246 changed files with 8499 additions and 6759 deletions

View File

@@ -8,9 +8,11 @@ public abstract class InventorySubcontainer implements IInventory { // CraftBukk
private int b;
protected ItemStack[] items; // CraftBukkit - protected
private List d;
private boolean e;
public InventorySubcontainer(String s, int i) {
public InventorySubcontainer(String s, boolean flag, int i) {
this.a = s;
this.e = flag;
this.b = i;
this.items = new ItemStack[i];
}
@@ -70,6 +72,10 @@ public abstract class InventorySubcontainer implements IInventory { // CraftBukk
return this.a;
}
public boolean c() {
return this.e;
}
public int getMaxStackSize() {
return 64;
}
@@ -82,11 +88,15 @@ public abstract class InventorySubcontainer implements IInventory { // CraftBukk
}
}
public boolean a_(EntityHuman entityhuman) {
public boolean a(EntityHuman entityhuman) {
return true;
}
public void startOpen() {}
public void f() {}
public void g() {}
public boolean b(int i, ItemStack itemstack) {
return true;
}
}