We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 665629e commit 18df672Copy full SHA for 18df672
src/main/java/org/spongepowered/api/scoreboard/Score.java
@@ -55,6 +55,20 @@ public interface Score {
55
*/
56
void setScore(int score);
57
58
+ /**
59
+ * Checks for whether the score is locked.
60
+ *
61
+ * @return True if the score is locked, false otherwise
62
+ */
63
+ boolean isLocked();
64
+
65
66
+ * Sets this score as locked.
67
68
+ * @param locked True to lock this score
69
70
+ void setLocked(boolean locked);
71
72
/**
73
* Returns a {@link Set} of parent {@link Objective}s this {@link Score} is
74
* registered to.
0 commit comments