mirror of
https://github.com/VolmitSoftware/Iris.git
synced 2025-07-18 18:23:06 +00:00
Remove the gradient if an error occurs with sender.send
Otherwise, the raw gradient text is printed to the console, which is bad.
This commit is contained in:
parent
a65a85fb67
commit
bfb121938a
@ -484,7 +484,7 @@ public class Iris extends VolmitPlugin implements Listener {
|
||||
sender.sendMessage(string);
|
||||
} catch (Throwable e) {
|
||||
try {
|
||||
System.out.println(string);
|
||||
System.out.println(instance.getTag() + string.replaceAll("(<([^>]+)>)", ""));
|
||||
} catch (Throwable ignored1) {
|
||||
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user