diff options
author | Travis Watkins <amaranth@ubuntu.com> | 2012-10-31 06:35:57 -0500 |
---|---|---|
committer | Travis Watkins <amaranth@ubuntu.com> | 2012-10-31 10:54:53 -0500 |
commit | a764c850c121950587726112b026c58bac75bf79 (patch) | |
tree | 57261a6b58f0fc4209737bf920d8eb7c4dad0a5f /src/main | |
parent | 772d6ca8042ac14555e3e3869cc7cba379adeab0 (diff) | |
download | bukkit-a764c850c121950587726112b026c58bac75bf79.tar bukkit-a764c850c121950587726112b026c58bac75bf79.tar.gz bukkit-a764c850c121950587726112b026c58bac75bf79.tar.lz bukkit-a764c850c121950587726112b026c58bac75bf79.tar.xz bukkit-a764c850c121950587726112b026c58bac75bf79.zip |
Add BlockCommandSender for Command block
Diffstat (limited to 'src/main')
-rw-r--r-- | src/main/java/org/bukkit/command/BlockCommandSender.java | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/src/main/java/org/bukkit/command/BlockCommandSender.java b/src/main/java/org/bukkit/command/BlockCommandSender.java new file mode 100644 index 00000000..6dc46607 --- /dev/null +++ b/src/main/java/org/bukkit/command/BlockCommandSender.java @@ -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(); +} |