[Bleeding] DoubleChestInventory.getHolder() no longer returns null. Addresses BUKKIT-995

This commit is contained in:
Celtic Minstrel
2012-03-12 16:47:43 -04:00
committed by EvilSeph
parent f27427ad19
commit 76cc488402
2 changed files with 7 additions and 1 deletions

View File

@@ -43,7 +43,7 @@ public class InventoryLargeChest implements IInventory {
}
public InventoryHolder getOwner() {
return null; // Double chests technically have multiple owners, so there's no sensible way to pick one
return null; // This method won't be called since CraftInventoryDoubleChest doesn't defer to here
}
// CraftBukkit end