Pulling all pending Bukkit-JavaDoc changes

By: Wesley Wolfe <weswolf@aol.com>
This commit is contained in:
Bukkit/Spigot
2013-04-13 01:36:32 -05:00
parent 606b5ba706
commit a98bf9de33
6 changed files with 16 additions and 7 deletions

View File

@@ -636,10 +636,14 @@ public interface Player extends HumanEntity, Conversable, CommandSender, Offline
public Scoreboard getScoreboard();
/**
* Sets the player's visible Scoreboard
* Scoreboard must be currently registered or an IllegalArgumentException is thrown
* Sets the player's visible Scoreboard.
*
* @param scoreboard New Scoreboard for the player
* @throws IllegalArgumentException if scoreboard is null
* @throws IllegalArgumentException if scoreboard was not created by the
* {@link org.bukkit.scoreboard.ScoreboardManager scoreboard manager}
* @throws IllegalStateException if this is a player that is not logged
* yet or has logged out
*/
public void setScoreboard(Scoreboard scoreboard);
public void setScoreboard(Scoreboard scoreboard) throws IllegalArgumentException, IllegalStateException;
}