This commit is contained in:
CocoTheOwner 2021-08-14 09:34:26 +02:00
parent 69eb7979c1
commit c0bf529a6b

View File

@ -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) {
} }