@@ -22,8 +22,8 @@
|
||||
+ public List<HumanEntity> transaction = new java.util.ArrayList<HumanEntity>();
|
||||
+
|
||||
+ public List<ItemStack> getContents() {
|
||||
+ List<ItemStack> result = new ArrayList<ItemStack>(this.getSize());
|
||||
+ for (int i = 0; i < this.getSize(); i++) {
|
||||
+ List<ItemStack> result = new ArrayList<ItemStack>(this.getContainerSize());
|
||||
+ for (int i = 0; i < this.getContainerSize(); i++) {
|
||||
+ result.add(this.getItem(i));
|
||||
+ }
|
||||
+ return result;
|
||||
@@ -61,9 +61,9 @@
|
||||
+ // CraftBukkit end
|
||||
+
|
||||
public InventoryLargeChest(IInventory iinventory, IInventory iinventory1) {
|
||||
if (iinventory == null) {
|
||||
iinventory = iinventory1;
|
||||
@@ -62,7 +113,7 @@
|
||||
this.container1 = iinventory;
|
||||
this.container2 = iinventory1;
|
||||
@@ -54,7 +105,7 @@
|
||||
|
||||
@Override
|
||||
public int getMaxStackSize() {
|
||||
|
||||
Reference in New Issue
Block a user