Dieser Commit ist enthalten in:
Ursprung
c593e23b80
Commit
79d9a8b902
@ -23,7 +23,6 @@ import de.steamwar.sql.SteamwarUser;
|
||||
import org.bukkit.Bukkit;
|
||||
|
||||
import java.util.UUID;
|
||||
import java.util.logging.Level;
|
||||
|
||||
public class BauServerInfo {
|
||||
private static Integer bauOwner = null;
|
||||
@ -34,9 +33,7 @@ public class BauServerInfo {
|
||||
} catch (NumberFormatException e) {
|
||||
try {
|
||||
bauOwner = SteamwarUser.get(UUID.fromString(Bukkit.getWorlds().get(0).getName())).getId();
|
||||
} catch (IllegalArgumentException exception) {
|
||||
Bukkit.getLogger().log(Level.SEVERE, "World name is not a user", new IllegalStateException("World name is not a user"));
|
||||
}
|
||||
} catch (IllegalArgumentException ignored) {}
|
||||
}
|
||||
}
|
||||
|
||||
|
In neuem Issue referenzieren
Einen Benutzer sperren