SPIGOT-2706: Implement support for Lock NBT Tag
Containers may now implement the Lockable interface. By: Senmori <thesenmori@gmail.com>
This commit is contained in:
@@ -5,7 +5,7 @@ import org.bukkit.inventory.InventoryHolder;
|
||||
/**
|
||||
* Represents a dropper.
|
||||
*/
|
||||
public interface Dropper extends BlockState, InventoryHolder {
|
||||
public interface Dropper extends BlockState, InventoryHolder, Lockable {
|
||||
/**
|
||||
* Tries to drop a randomly selected item from the Dropper's inventory,
|
||||
* following the normal behavior of a Dropper.
|
||||
|
||||
Reference in New Issue
Block a user