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;
|
||||
|
||||
import com.viaversion.viaversion.api.protocol.version.VersionType;
|
||||
import java.util.Set;
|
||||
|
||||
public record VersionInfo(String javaVersion, String operatingSystem, VersionType versionType,
|
||||
public record VersionInfo(String javaVersion, String operatingSystem,
|
||||
int serverProtocol, String serverVersion,
|
||||
Set<String> enabledProtocols, String platformName,
|
||||
String platformVersion, String pluginVersion,
|
||||
|
@ -62,7 +62,6 @@ public final class DumpUtil {
|
||||
final VersionInfo version = new VersionInfo(
|
||||
System.getProperty("java.version"),
|
||||
System.getProperty("os.name"),
|
||||
protocolVersion.getVersionType(),
|
||||
protocolVersion.getVersion(),
|
||||
protocolVersion.getName(),
|
||||
Via.getManager().getProtocolManager().getSupportedVersions().stream().map(ProtocolVersion::toString).collect(Collectors.toCollection(LinkedHashSet::new)),
|
||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren