Fix for real!

This commit is contained in:
2025-04-04 10:54:06 +02:00
parent bfdc9c118a
commit 57ea1470e2
@@ -79,8 +79,7 @@ public class DiscordChannel extends Chatter.PlayerlessChatter {
String ingameName = strings[strings.length - 1];
SteamwarUser user = SteamwarUser.get(ingameName);
System.out.println(ingameName + " " + user);
if (user != null) {
if (user == null) {
send(new MessageCreateBuilder()
.setContent(message));
return;
@@ -107,7 +106,6 @@ public class DiscordChannel extends Chatter.PlayerlessChatter {
.queue();
return;
} catch (Exception e) {
e.printStackTrace();
// Ignore and send message as normal!
}
}