Skip to content

Commit 55a6658

Browse files
committed
Improve IntArrayTag documentation
1 parent 11fad97 commit 55a6658

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

‎src/main/java/org/glavo/nbt/tag/IntArrayTag.java‎

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ public int get(int index) throws IndexOutOfBoundsException {
9191

9292
/// Returns the UUID value of the tag.
9393
///
94-
/// @throws IllegalStateException if the tag is not a UUID.
94+
/// @throws IllegalStateException if the tag is not a [UUID][#isUUID()].
9595
@Contract(pure = true)
9696
public UUID getUUID() {
9797
if (!isUUID()) {
@@ -137,6 +137,8 @@ public void setAll(int... array) { // Override to use varargs
137137
}
138138

139139
/// Sets the value of the tag from a UUID.
140+
///
141+
/// Calling this method will clear the current array, all subtags will be removed.
140142
@Contract(mutates = "this")
141143
public void setUUID(UUID uuid) {
142144
int[] array = new int[4];

0 commit comments

Comments
 (0)