Commits

Thinkofname authored 3c1f461070d
Allow Entities to be CommandSenders and add ProxiedCommandSender
No tags

src/main/java/org/bukkit/command/ProxiedCommandSender.java

Added
1 +
2 +package org.bukkit.command;
3 +
4 +public interface ProxiedCommandSender extends CommandSender {
5 +
6 + /**
7 + * Returns the CommandSender which triggered this proxied command
8 + *
9 + * @return the caller which triggered the command
10 + */
11 + CommandSender getCaller();
12 +
13 + /**
14 + * Returns the CommandSender which is being used to call the command
15 + *
16 + * @return the caller which the command is being run as
17 + */
18 + CommandSender getCallee();
19 +
20 +}

Everything looks good. We'll let you know here if there's anything you should know about.

Add shortcut