mirror of
https://github.com/PaperMC/Paper.git
synced 2025-02-12 18:42:07 +01:00
Add BlockCommandSender for Command block
By: Travis Watkins <amaranth@ubuntu.com>
This commit is contained in:
parent
517f115fc0
commit
38f6b24c1c
@ -0,0 +1,12 @@
|
|||||||
|
package org.bukkit.command;
|
||||||
|
|
||||||
|
import org.bukkit.block.Block;
|
||||||
|
|
||||||
|
public interface BlockCommandSender extends CommandSender {
|
||||||
|
/**
|
||||||
|
* Returns the block this command sender belongs to
|
||||||
|
*
|
||||||
|
* @return Block for the command sender
|
||||||
|
*/
|
||||||
|
public Block getBlock();
|
||||||
|
}
|
Loading…
Reference in New Issue
Block a user