From 57ea1470e2510fcfbd96ecfc6f01d33b006112c1 Mon Sep 17 00:00:00 2001 From: YoyoNow Date: Fri, 4 Apr 2025 10:54:06 +0200 Subject: [PATCH] Fix for real! --- .../velocitycore/discord/channels/DiscordChannel.java | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) 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! } }