Skip to content

Commit

Permalink
feat: schedule old instantiators for removal
Browse files Browse the repository at this point in the history
  • Loading branch information
darksaid98 committed May 28, 2024
1 parent bdedd96 commit 1975aae
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@
import org.bukkit.OfflinePlayer;
import org.bukkit.entity.Player;
import org.intellij.lang.annotations.Subst;
import org.jetbrains.annotations.ApiStatus.ScheduledForRemoval;
import org.jetbrains.annotations.NotNull;

/**
Expand Down Expand Up @@ -92,6 +93,7 @@ private ColorParser() {
* Instantiates a new color parser object.
*/
@Deprecated
@ScheduledForRemoval
public ColorParser(String text) {
setText(text);
}
Expand All @@ -105,6 +107,7 @@ public ColorParser(String text) {
* Instantiates a new color parser object.
*/
@Deprecated
@ScheduledForRemoval
public static @NotNull ColorParser text(String text) {
return ColorParser.of(text);
}
Expand Down

0 comments on commit 1975aae

Please sign in to comment.