Files
Paper/paper-api/src/main/java/org/bukkit/command/ProxiedCommandSender.java
2019-03-13 17:42:57 +11:00

25 lines
531 B
Java

package org.bukkit.command;
import org.jetbrains.annotations.NotNull;
public interface ProxiedCommandSender extends CommandSender {
/**
* Returns the CommandSender which triggered this proxied command
*
* @return the caller which triggered the command
*/
@NotNull
CommandSender getCaller();
/**
* Returns the CommandSender which is being used to call the command
*
* @return the caller which the command is being run as
*/
@NotNull
CommandSender getCallee();
}