From e58860644cb7a55aeb319db5c951aa77dd97a80f Mon Sep 17 00:00:00 2001 From: Lixfel Date: Sat, 29 Feb 2020 10:49:07 +0100 Subject: [PATCH] Revert useless change Signed-off-by: Lixfel --- src/de/steamwar/bungeecore/sql/SteamwarUser.java | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) diff --git a/src/de/steamwar/bungeecore/sql/SteamwarUser.java b/src/de/steamwar/bungeecore/sql/SteamwarUser.java index e90c1509..726fb09b 100644 --- a/src/de/steamwar/bungeecore/sql/SteamwarUser.java +++ b/src/de/steamwar/bungeecore/sql/SteamwarUser.java @@ -47,14 +47,7 @@ public class SteamwarUser { } public static SteamwarUser getOrCreate(PendingConnection connection){ - SteamwarUser user; - try{ - user = SteamwarUser.get(connection.getUniqueId()); - }catch(SecurityException e){ - //Exception only thrown for first time users - //Reason: java.sql.SQLException: Invalid utf8mb4 character string: 'ACED00' - user = null; - } + SteamwarUser user = SteamwarUser.get(connection.getUniqueId()); if(user != null){ String userName = connection.getName();