From 1262a08a226aa4e38e09de9036da79f364ae621b Mon Sep 17 00:00:00 2001 From: tastybento Date: Sun, 1 Jan 2023 08:43:31 -0800 Subject: [PATCH] Removed deprecated method isPlayer(User) --- .../bentobox/api/commands/CompositeCommand.java | 12 ------------ 1 file changed, 12 deletions(-) diff --git a/src/main/java/world/bentobox/bentobox/api/commands/CompositeCommand.java b/src/main/java/world/bentobox/bentobox/api/commands/CompositeCommand.java index 3f9ea39ef..8301b13b3 100644 --- a/src/main/java/world/bentobox/bentobox/api/commands/CompositeCommand.java +++ b/src/main/java/world/bentobox/bentobox/api/commands/CompositeCommand.java @@ -513,18 +513,6 @@ public abstract class CompositeCommand extends Command implements PluginIdentifi 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. * If this is set to {@code true}, this command will only be runnable by objects implementing {@link Player}.