diff --git a/VelocityCore/src/de/steamwar/velocitycore/discord/channels/DiscordChannel.java b/VelocityCore/src/de/steamwar/velocitycore/discord/channels/DiscordChannel.java index 07e0527c..7092aeb4 100644 --- a/VelocityCore/src/de/steamwar/velocitycore/discord/channels/DiscordChannel.java +++ b/VelocityCore/src/de/steamwar/velocitycore/discord/channels/DiscordChannel.java @@ -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! } }