3
0
Mirror von https://github.com/PaperMC/Velocity.git synchronisiert 2024-12-24 23:30:26 +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:
Andrew Steinborn 2020-10-28 17:11:19 -04:00
Ursprung e3f17eeb24
Commit 36ff6f63ae

Datei anzeigen

@ -120,6 +120,10 @@ public class StatusSessionHandler implements MinecraftSessionHandler {
continue;
}
if (response.getDescriptionComponent() == null) {
continue;
}
return new ServerPing(
fallback.getVersion(),
fallback.getPlayers().orElse(null),