[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:
@@ -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();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user