Update CraftBukkit to 1.6.1
This commit is contained in:
committed by
Wesley Wolfe
parent
f887b76a25
commit
6c09066e22
@@ -1,5 +1,6 @@
|
||||
package net.minecraft.server;
|
||||
|
||||
import java.util.ArrayList;
|
||||
import java.util.List;
|
||||
|
||||
public abstract class InventorySubcontainer implements IInventory { // CraftBukkit - abstract
|
||||
@@ -17,6 +18,18 @@ public abstract class InventorySubcontainer implements IInventory { // CraftBukk
|
||||
this.items = new ItemStack[i];
|
||||
}
|
||||
|
||||
public void a(IInventoryListener iinventorylistener) {
|
||||
if (this.d == null) {
|
||||
this.d = new ArrayList();
|
||||
}
|
||||
|
||||
this.d.add(iinventorylistener);
|
||||
}
|
||||
|
||||
public void b(IInventoryListener iinventorylistener) {
|
||||
this.d.remove(iinventorylistener);
|
||||
}
|
||||
|
||||
public ItemStack getItem(int i) {
|
||||
return this.items[i];
|
||||
}
|
||||
@@ -76,6 +89,11 @@ public abstract class InventorySubcontainer implements IInventory { // CraftBukk
|
||||
return this.e;
|
||||
}
|
||||
|
||||
public void a(String s) {
|
||||
this.e = true;
|
||||
this.a = s;
|
||||
}
|
||||
|
||||
public int getMaxStackSize() {
|
||||
return 64;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user