mirror of
https://github.com/ViaVersion/ViaVersion.git
synced 2024-09-27 14:12:54 +02:00
Fix enabled version sorting in DumpUtil (#3719)
This commit is contained in:
parent
caa6519780
commit
26a8e5fef1
@ -35,6 +35,7 @@ import java.net.HttpURLConnection;
|
||||
import java.net.URL;
|
||||
import java.nio.charset.StandardCharsets;
|
||||
import java.util.HashSet;
|
||||
import java.util.LinkedHashSet;
|
||||
import java.util.List;
|
||||
import java.util.Map;
|
||||
import java.util.Set;
|
||||
@ -48,7 +49,7 @@ import org.checkerframework.checker.nullness.qual.Nullable;
|
||||
public final class DumpUtil {
|
||||
|
||||
/**
|
||||
* Creates a platform dump and posts it to ViaVersion's dump server asychronously.
|
||||
* Creates a platform dump and posts it to ViaVersion's dump server asynchronously.
|
||||
* May complete exceptionally with {@link DumpException}.
|
||||
*
|
||||
* @param playerToSample uuid of the player to include the pipeline of
|
||||
@ -59,7 +60,7 @@ public final class DumpUtil {
|
||||
System.getProperty("java.version"),
|
||||
System.getProperty("os.name"),
|
||||
Via.getAPI().getServerVersion().lowestSupportedProtocolVersion().toString(),
|
||||
Via.getManager().getProtocolManager().getSupportedVersions().stream().map(ProtocolVersion::toString).collect(Collectors.toSet()),
|
||||
Via.getManager().getProtocolManager().getSupportedVersions().stream().map(ProtocolVersion::toString).collect(Collectors.toCollection(LinkedHashSet::new)),
|
||||
Via.getPlatform().getPlatformName(),
|
||||
Via.getPlatform().getPlatformVersion(),
|
||||
Via.getPlatform().getPluginVersion(),
|
||||
|
Loading…
Reference in New Issue
Block a user