diff --git a/SpigotCore_Main/src/de/steamwar/core/events/ChunkListener.java b/SpigotCore_Main/src/de/steamwar/core/events/ChunkListener.java index 685ad3b..86d07ab 100644 --- a/SpigotCore_Main/src/de/steamwar/core/events/ChunkListener.java +++ b/SpigotCore_Main/src/de/steamwar/core/events/ChunkListener.java @@ -46,7 +46,6 @@ public class ChunkListener { return; try{ - System.out.println(p.getUniqueId()); SteamwarUser user = SteamwarUser.get(p.getUniqueId()); if(!user.isBedrock()) return; diff --git a/SpigotCore_Main/src/de/steamwar/sql/SteamwarUser.java b/SpigotCore_Main/src/de/steamwar/sql/SteamwarUser.java index a67130f..3a241bc 100644 --- a/SpigotCore_Main/src/de/steamwar/sql/SteamwarUser.java +++ b/SpigotCore_Main/src/de/steamwar/sql/SteamwarUser.java @@ -97,7 +97,7 @@ public class SteamwarUser { throw new SecurityException("SQL Statement failed to get User", e); } Bukkit.getLogger().severe("Unexpected Server Exception '" + statement + "' and '" + identifier + "'"); - return null; + throw new IllegalStateException("This should never happen. Check your configs. Especially spigot.yml and spigot-1.8.yml and spigot-1.14.yml, key 'bungeecord' should be true. In the server.properties should be 'online-mode' set to false. Check the BungeeCord configs to be extra sure. THIS SHOULD NEVER GET THROWN!"); } public static SteamwarUser get(String userName){