mirror of
https://github.com/VolmitSoftware/Iris.git
synced 2025-07-18 18:23:06 +00:00
ok
This commit is contained in:
parent
69eb7979c1
commit
c0bf529a6b
@ -482,12 +482,7 @@ public class Iris extends VolmitPlugin implements Listener {
|
|||||||
sender.sendMessage(string);
|
sender.sendMessage(string);
|
||||||
} catch (Throwable e) {
|
} catch (Throwable e) {
|
||||||
try {
|
try {
|
||||||
if (sender.isPlayer()) {
|
System.out.println(string);
|
||||||
Iris.reportError(e);
|
|
||||||
Iris.error("Failed to send message to player: " + string);
|
|
||||||
} else {
|
|
||||||
System.out.println("Failed to send message through logger: " + string + " because of " + e.getMessage());
|
|
||||||
}
|
|
||||||
} catch (Throwable ignored1) {
|
} catch (Throwable ignored1) {
|
||||||
|
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user