geforkt von Mirrors/Paper
Add Score.isScoreSet()Z API.
By: md_5 <git@md-5.net>
Dieser Commit ist enthalten in:
Ursprung
7f32fecc86
Commit
2ec3448bdf
@ -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.
|
||||
*
|
||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren