13
0
geforkt von Mirrors/Paper

Consider first player name in leave command. Fixes BUKKIT-4051

By: Wesley Wolfe <weswolf@aol.com>
Dieser Commit ist enthalten in:
Bukkit/Spigot 2013-04-11 22:56:31 -05:00
Ursprung e5dec4f10e
Commit 740df1695d

Datei anzeigen

@ -400,7 +400,7 @@ public class ScoreboardCommand extends VanillaCommand {
noTeam.add(sender.getName()); noTeam.add(sender.getName());
} }
} else { } else {
for (int i = 3; i < args.length; i++) { for (int i = 2; i < args.length; i++) {
String playerName = args[i]; String playerName = args[i];
OfflinePlayer offlinePlayer; OfflinePlayer offlinePlayer;
Player player = Bukkit.getPlayerExact(playerName); Player player = Bukkit.getPlayerExact(playerName);