Add deprecation to CLI sender

This commit is contained in:
Octavia Togami 2020-07-09 20:16:38 -07:00
parent 50a744f434
commit d111d86876
No known key found for this signature in database
GPG Key ID: CC364524D1983C99

View File

@ -65,6 +65,7 @@ public String getName() {
}
@Override
@Deprecated
public void printRaw(String msg) {
for (String part : msg.split("\n")) {
sender.info(part);
@ -77,6 +78,7 @@ public void printRaw(String msg) {
private static final String ANSI_RESET = "\u001B[0m";
@Override
@Deprecated
public void print(String msg) {
for (String part : msg.split("\n")) {
sender.info(ANSI_PURPLE + part + ANSI_RESET);
@ -84,6 +86,7 @@ public void print(String msg) {
}
@Override
@Deprecated
public void printDebug(String msg) {
for (String part : msg.split("\n")) {
sender.debug(ANSI_GREEN + part + ANSI_RESET);
@ -91,6 +94,7 @@ public void printDebug(String msg) {
}
@Override
@Deprecated
public void printError(String msg) {
for (String part : msg.split("\n")) {
sender.error(ANSI_RED + part + ANSI_RESET);