diff options
author | Travis Watkins <amaranth@ubuntu.com> | 2013-03-13 17:33:27 -0500 |
---|---|---|
committer | Travis Watkins <amaranth@ubuntu.com> | 2013-03-15 13:28:59 -0500 |
commit | 83d29e461c85733f0113b6eb19db6e3b42da2949 (patch) | |
tree | b3063a1c28f478ab368d5ba3413a842def68c28f /src/main/java/net/minecraft/server/InventorySubcontainer.java | |
parent | ba6e4c38cfa98ad291974195cc46d70a4f138ac1 (diff) | |
download | craftbukkit-83d29e461c85733f0113b6eb19db6e3b42da2949.tar craftbukkit-83d29e461c85733f0113b6eb19db6e3b42da2949.tar.gz craftbukkit-83d29e461c85733f0113b6eb19db6e3b42da2949.tar.lz craftbukkit-83d29e461c85733f0113b6eb19db6e3b42da2949.tar.xz craftbukkit-83d29e461c85733f0113b6eb19db6e3b42da2949.zip |
Update CraftBukkit to Minecraft 1.5
Diffstat (limited to 'src/main/java/net/minecraft/server/InventorySubcontainer.java')
-rw-r--r-- | src/main/java/net/minecraft/server/InventorySubcontainer.java | 16 |
1 files changed, 13 insertions, 3 deletions
diff --git a/src/main/java/net/minecraft/server/InventorySubcontainer.java b/src/main/java/net/minecraft/server/InventorySubcontainer.java index 94218a7e..c288380c 100644 --- a/src/main/java/net/minecraft/server/InventorySubcontainer.java +++ b/src/main/java/net/minecraft/server/InventorySubcontainer.java @@ -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; + } } |