mirror of
https://github.com/PaperMC/Paper.git
synced 2025-08-14 19:55:52 -07:00
@@ -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.
|
||||
*
|
||||
|
Reference in New Issue
Block a user