Skip to content

Commit e82c71c

Browse files
committedFeb 21, 2025·
feat: Set ServerType#PAPER_FORK as deprecated
1 parent 73d0068 commit e82c71c

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed
 

‎src/main/java/me/adrigamer2950/adriapi/api/util/ServerType.java

+8
Original file line numberDiff line numberDiff line change
@@ -5,12 +5,20 @@
55
import lombok.Getter;
66
import lombok.Setter;
77
import org.bukkit.Bukkit;
8+
import org.jetbrains.annotations.ApiStatus;
89

10+
@SuppressWarnings("DeprecatedIsStillUsed")
911
@Getter
1012
@AllArgsConstructor
1113
public enum ServerType {
1214

1315
FOLIA("Folia"),
16+
17+
/**
18+
* @deprecated Use {@link ServerType#PAPER} instead
19+
*/
20+
@ApiStatus.ScheduledForRemoval(inVersion = "2.4.0")
21+
@Deprecated(forRemoval = true)
1422
PAPER_FORK("Paper-Fork"),
1523

1624
PAPER("Paper"),

0 commit comments

Comments
 (0)
Please sign in to comment.