diff options
Diffstat (limited to 'src/main/java/net/minecraft/server/InventoryLargeChest.java')
-rw-r--r-- | src/main/java/net/minecraft/server/InventoryLargeChest.java | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/src/main/java/net/minecraft/server/InventoryLargeChest.java b/src/main/java/net/minecraft/server/InventoryLargeChest.java index 0f23a2f8..41391c4a 100644 --- a/src/main/java/net/minecraft/server/InventoryLargeChest.java +++ b/src/main/java/net/minecraft/server/InventoryLargeChest.java @@ -1,12 +1,10 @@ package net.minecraft.server; // CraftBukkit start -import java.util.ArrayList; import java.util.List; import org.bukkit.craftbukkit.entity.CraftHumanEntity; import org.bukkit.entity.HumanEntity; -import org.bukkit.inventory.InventoryHolder; // CraftBukkit end public class InventoryLargeChest implements IInventory { @@ -16,7 +14,7 @@ public class InventoryLargeChest implements IInventory { public IInventory right; // CraftBukkit - private -> public // CraftBukkit start - public List<HumanEntity> transaction = new ArrayList<HumanEntity>(); + public List<HumanEntity> transaction = new java.util.ArrayList<HumanEntity>(); public ItemStack[] getContents() { ItemStack[] result = new ItemStack[this.getSize()]; @@ -42,7 +40,7 @@ public class InventoryLargeChest implements IInventory { return transaction; } - public InventoryHolder getOwner() { + public org.bukkit.inventory.InventoryHolder getOwner() { return null; // This method won't be called since CraftInventoryDoubleChest doesn't defer to here } |