13
0
geforkt von Mirrors/Paper

Add Score.isScoreSet()Z API.

By: md_5 <git@md-5.net>
Dieser Commit ist enthalten in:
Bukkit/Spigot 2017-11-10 10:50:52 +11:00
Ursprung 7f32fecc86
Commit 2ec3448bdf

Datei anzeigen

@ -51,6 +51,15 @@ public interface Score {
*/
void setScore(int score) throws IllegalStateException;
/**
* Shows if this score has been set at any point in time.
*
* @return if this score has been set before
* @throws IllegalStateException if the associated objective has been
* unregistered
*/
boolean isScoreSet() throws IllegalStateException;
/**
* Gets the scoreboard for the associated objective.
*