Deprecated CommandSender.isPlayer (instanceof!) and added ConsoleCommandSender
By: Dinnerbone <dinnerbone@dinnerbone.com>
This commit is contained in:
@@ -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();
|
||||
}
|
||||
Reference in New Issue
Block a user