Deprecated CommandSender.isPlayer (instanceof!) and added ConsoleCommandSender

By: Dinnerbone <dinnerbone@dinnerbone.com>
This commit is contained in:
Bukkit/Spigot
2011-02-01 16:45:29 +00:00
parent c818125fb8
commit 3085f140b3
2 changed files with 21 additions and 0 deletions

View File

@@ -20,6 +20,8 @@ public interface CommandSender {
* Checks if this sender is a player
*
* @return true if they are
* @deprecated Use instanceof
*/
@Deprecated
public boolean isPlayer();
}