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);
|
||||
} catch (Throwable e) {
|
||||
try {
|
||||
if (sender.isPlayer()) {
|
||||
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());
|
||||
}
|
||||
System.out.println(string);
|
||||
} catch (Throwable ignored1) {
|
||||
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user