mirror of
https://github.com/PaperMC/Paper.git
synced 2025-01-09 19:49:35 +01:00
Add BlockCommandSender for Command block
By: Travis Watkins <amaranth@ubuntu.com>
This commit is contained in:
parent
517f115fc0
commit
38f6b24c1c
1 changed files with 12 additions and 0 deletions
|
@ -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 a new issue