Mirror von
https://github.com/ViaVersion/ViaVersion.git
synchronisiert 2024-11-16 04:50:08 +01:00
Remove version type from dump (#4036)
Dieser Commit ist enthalten in:
Ursprung
b5a06181d4
Commit
40a44d5dc5
@ -17,10 +17,9 @@
|
|||||||
*/
|
*/
|
||||||
package com.viaversion.viaversion.dump;
|
package com.viaversion.viaversion.dump;
|
||||||
|
|
||||||
import com.viaversion.viaversion.api.protocol.version.VersionType;
|
|
||||||
import java.util.Set;
|
import java.util.Set;
|
||||||
|
|
||||||
public record VersionInfo(String javaVersion, String operatingSystem, VersionType versionType,
|
public record VersionInfo(String javaVersion, String operatingSystem,
|
||||||
int serverProtocol, String serverVersion,
|
int serverProtocol, String serverVersion,
|
||||||
Set<String> enabledProtocols, String platformName,
|
Set<String> enabledProtocols, String platformName,
|
||||||
String platformVersion, String pluginVersion,
|
String platformVersion, String pluginVersion,
|
||||||
|
@ -62,7 +62,6 @@ public final class DumpUtil {
|
|||||||
final VersionInfo version = new VersionInfo(
|
final VersionInfo version = new VersionInfo(
|
||||||
System.getProperty("java.version"),
|
System.getProperty("java.version"),
|
||||||
System.getProperty("os.name"),
|
System.getProperty("os.name"),
|
||||||
protocolVersion.getVersionType(),
|
|
||||||
protocolVersion.getVersion(),
|
protocolVersion.getVersion(),
|
||||||
protocolVersion.getName(),
|
protocolVersion.getName(),
|
||||||
Via.getManager().getProtocolManager().getSupportedVersions().stream().map(ProtocolVersion::toString).collect(Collectors.toCollection(LinkedHashSet::new)),
|
Via.getManager().getProtocolManager().getSupportedVersions().stream().map(ProtocolVersion::toString).collect(Collectors.toCollection(LinkedHashSet::new)),
|
||||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren