mirror of
https://hub.spigotmc.org/stash/scm/spigot/bukkit.git
synced 2025-08-21 05:44:17 +00:00
Add Score.isScoreSet()Z API.
This commit is contained in:
parent
ec4d4ef1e8
commit
4b9a4e2c98
1 changed files with 9 additions and 0 deletions
|
@ -51,6 +51,15 @@ public interface Score {
|
||||||
*/
|
*/
|
||||||
void setScore(int score) throws IllegalStateException;
|
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.
|
* Gets the scoreboard for the associated objective.
|
||||||
*
|
*
|
||||||
|
|
Loading…
Add table
Reference in a new issue