[Bleeding] Added DoubleChest wrapper so that DoubleChestInventory can return something other than null. Addresses BUKKIT-995

This commit is contained in:
Celtic Minstrel
2012-03-12 16:46:47 -04:00
committed by EvilSeph
parent 79384e65c2
commit aead3745f2
2 changed files with 51 additions and 0 deletions

View File

@@ -1,5 +1,7 @@
package org.bukkit.inventory;
import org.bukkit.block.DoubleChest;
public interface DoubleChestInventory extends Inventory {
/**
* Get the left half of this double chest.
@@ -12,4 +14,6 @@ public interface DoubleChestInventory extends Inventory {
* @return The right side inventory
*/
Inventory getRightSide();
DoubleChest getHolder();
}