mirror of
https://hub.spigotmc.org/stash/scm/spigot/bukkit.git
synced 2025-08-31 22:22:49 +00:00
Consider first player name in leave command. Fixes BUKKIT-4051
This commit is contained in:
parent
9f29723444
commit
d5b5f84f0c
1 changed files with 1 additions and 1 deletions
|
@ -400,7 +400,7 @@ public class ScoreboardCommand extends VanillaCommand {
|
|||
noTeam.add(sender.getName());
|
||||
}
|
||||
} else {
|
||||
for (int i = 3; i < args.length; i++) {
|
||||
for (int i = 2; i < args.length; i++) {
|
||||
String playerName = args[i];
|
||||
OfflinePlayer offlinePlayer;
|
||||
Player player = Bukkit.getPlayerExact(playerName);
|
||||
|
|
Loading…
Add table
Reference in a new issue