Allow Entities to be CommandSenders and add ProxiedCommandSender

By: Thinkofdeath <thinkofdeath@spigotmc.org>
This commit is contained in:
Bukkit/Spigot
2015-01-04 23:26:45 +00:00
parent a7d7bc05ad
commit 8d487db2b5
2 changed files with 22 additions and 1 deletions

View File

@@ -10,12 +10,13 @@ import org.bukkit.util.Vector;
import java.util.List;
import java.util.UUID;
import org.bukkit.command.CommandSender;
import org.bukkit.event.player.PlayerTeleportEvent.TeleportCause;
/**
* Represents a base entity in the world
*/
public interface Entity extends Metadatable {
public interface Entity extends Metadatable, CommandSender {
/**
* Gets the entity's current position