diff --git a/src/main/java/com/craftaro/skyblock/command/commands/island/CoopCommand.java b/src/main/java/com/craftaro/skyblock/command/commands/island/CoopCommand.java index bdcec6e4..a0cf1a9b 100644 --- a/src/main/java/com/craftaro/skyblock/command/commands/island/CoopCommand.java +++ b/src/main/java/com/craftaro/skyblock/command/commands/island/CoopCommand.java @@ -51,7 +51,7 @@ public void onCommandByPlayer(Player player, String[] args) { || (island.hasRole(IslandRole.OPERATOR, player.getUniqueId()) && permissionManager.hasPermission(island, "CoopPlayers", IslandRole.OPERATOR))) { if (args.length == 1 || args.length == 2) { - Player targetPlayer = Bukkit.getServer().getPlayer(args[0]); + Player targetPlayer = Bukkit.getServer().getPlayerExact(args[0]); UUID targetPlayerUUID; String targetPlayerName;