Skip to content

Commit a66f062

Browse files
committed
Update WorldBorderData javadoc references
1 parent 32df8f6 commit a66f062

1 file changed

Lines changed: 5 additions & 5 deletions

File tree

api/src/main/java/net/thenextlvl/perworlds/data/WorldBorderData.java

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -138,7 +138,7 @@ default long duration() {
138138
* Retrieves the current transition duration of the world's border.
139139
*
140140
* @return the duration
141-
* @see WorldBorder#changeSize(double, long)
141+
* @see WorldBorder#setSize(double, TimeUnit, long)
142142
* @since 1.3.0
143143
*/
144144
@Contract(pure = true)
@@ -166,7 +166,7 @@ default WorldBorderData duration(final long duration) throws IllegalArgumentExce
166166
* @param duration the duration to be set
167167
* @return the current WorldBorderData instance for chaining
168168
* @throws IllegalArgumentException if the duration is negative
169-
* @see WorldBorder#changeSize(double, long)
169+
* @see WorldBorder#setSize(double, TimeUnit, long)
170170
* @since 1.3.0
171171
*/
172172
@Contract(value = "_ -> new", pure = true)
@@ -236,7 +236,7 @@ default WorldBorderData duration(final long duration) throws IllegalArgumentExce
236236
* Gets the current border warning time in seconds.
237237
*
238238
* @return The current border warning time in seconds.
239-
* @see WorldBorder#getWarningTimeTicks()
239+
* @see WorldBorder#getWarningTime()
240240
*/
241241
@Contract(pure = true)
242242
@Deprecated(forRemoval = true, since = "1.3.0")
@@ -248,7 +248,7 @@ default int warningTime() {
248248
* Gets the current border warning time.
249249
*
250250
* @return The current border warning time.
251-
* @see WorldBorder#getWarningTimeTicks()
251+
* @see WorldBorder#getWarningTime()
252252
*/
253253
@Contract(pure = true)
254254
Duration getWarningTime();
@@ -273,7 +273,7 @@ default WorldBorderData warningTime(final int seconds) throws IllegalArgumentExc
273273
* @param duration The amount of time.
274274
* @return the current WorldBorderData instance for chaining
275275
* @throws IllegalArgumentException if the duration is negative
276-
* @see WorldBorder#setWarningTimeTicks(int)
276+
* @see WorldBorder#setWarningTime(int)
277277
* @since 1.3.0
278278
*/
279279
@Contract(value = "_ -> new", pure = true)

0 commit comments

Comments
 (0)