Mirror von
https://github.com/PaperMC/Velocity.git
synchronisiert 2024-11-17 05:20:14 +01:00
Use the fallback description if the backend server description is null
This is technically incorrect but it seems like this is the best we can do...
Dieser Commit ist enthalten in:
Ursprung
e3f17eeb24
Commit
36ff6f63ae
@ -120,6 +120,10 @@ public class StatusSessionHandler implements MinecraftSessionHandler {
|
|||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (response.getDescriptionComponent() == null) {
|
||||||
|
continue;
|
||||||
|
}
|
||||||
|
|
||||||
return new ServerPing(
|
return new ServerPing(
|
||||||
fallback.getVersion(),
|
fallback.getVersion(),
|
||||||
fallback.getPlayers().orElse(null),
|
fallback.getPlayers().orElse(null),
|
||||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren