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

By: Celtic Minstrel <celtic.minstrel.ca@some.place>
This commit is contained in:
Bukkit/Spigot
2012-03-12 16:46:47 -04:00
parent 681a13dec1
commit e3b0a0b98c
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();
}