1.6.12 & 1.6.13

This commit is contained in:
ajgeiss0702
2020-11-24 12:08:22 -07:00
parent b4b1049d36
commit 7f51b44c4c
3 changed files with 23 additions and 3 deletions
+5 -1
View File
@@ -226,7 +226,11 @@ public class Main extends Plugin implements Listener {
server.getQueue().remove(p);
}
if(config.getBoolean("send-fail-debug")) {
getLogger().warning("Failed to send "+p.getName()+" to "+e.getKickedFrom().getName()+" because "+e.getKickReasonComponent().toString());
String r = "";
for(BaseComponent b : e.getKickReasonComponent()) {
r += b.toPlainText();
}
getLogger().warning("Failed to send "+p.getName()+" to "+e.getKickedFrom().getName()+" because "+r);
}
}
}