SteamWar/SpigotCore
Archiviert
13
0
Dieser Commit ist enthalten in:
jojo 2020-12-25 16:24:42 +01:00
Ursprung 2fc65a22ec
Commit ad28b4fb4e
2 geänderte Dateien mit 1 neuen und 2 gelöschten Zeilen

Datei anzeigen

@ -46,7 +46,6 @@ public class ChunkListener {
return; return;
try{ try{
System.out.println(p.getUniqueId());
SteamwarUser user = SteamwarUser.get(p.getUniqueId()); SteamwarUser user = SteamwarUser.get(p.getUniqueId());
if(!user.isBedrock()) if(!user.isBedrock())
return; return;

Datei anzeigen

@ -97,7 +97,7 @@ public class SteamwarUser {
throw new SecurityException("SQL Statement failed to get User", e); throw new SecurityException("SQL Statement failed to get User", e);
} }
Bukkit.getLogger().severe("Unexpected Server Exception '" + statement + "' and '" + identifier + "'"); 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){ public static SteamwarUser get(String userName){