Removed deprecated method isPlayer(User)

This commit is contained in:
tastybento 2023-01-01 08:43:31 -08:00
parent f545a4576e
commit 1262a08a22

View File

@ -513,18 +513,6 @@ public abstract class CompositeCommand extends Command implements PluginIdentifi
return onlyPlayer; return onlyPlayer;
} }
/**
* Convenience method to check if a user is a player
* @param user - the User
* @return true if sender is a player
* @deprecated use {@link User#isPlayer()}
* @forRemoval 1.18.0
*/
@Deprecated
protected boolean isPlayer(User user) {
return user.isPlayer();
}
/** /**
* Sets whether this command should only be run by players. * Sets whether this command should only be run by players.
* If this is set to {@code true}, this command will only be runnable by objects implementing {@link Player}. * If this is set to {@code true}, this command will only be runnable by objects implementing {@link Player}.