From 40a44d5dc5622534e741adb88579b0de114f4aae Mon Sep 17 00:00:00 2001 From: EnZaXD Date: Mon, 22 Jul 2024 17:45:21 +0200 Subject: [PATCH] Remove version type from dump (#4036) --- .../main/java/com/viaversion/viaversion/dump/VersionInfo.java | 3 +-- .../src/main/java/com/viaversion/viaversion/util/DumpUtil.java | 1 - 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/common/src/main/java/com/viaversion/viaversion/dump/VersionInfo.java b/common/src/main/java/com/viaversion/viaversion/dump/VersionInfo.java index 07ce2b3de..6c60aba38 100644 --- a/common/src/main/java/com/viaversion/viaversion/dump/VersionInfo.java +++ b/common/src/main/java/com/viaversion/viaversion/dump/VersionInfo.java @@ -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 enabledProtocols, String platformName, String platformVersion, String pluginVersion, diff --git a/common/src/main/java/com/viaversion/viaversion/util/DumpUtil.java b/common/src/main/java/com/viaversion/viaversion/util/DumpUtil.java index 8daa6d545..615ebe207 100644 --- a/common/src/main/java/com/viaversion/viaversion/util/DumpUtil.java +++ b/common/src/main/java/com/viaversion/viaversion/util/DumpUtil.java @@ -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)),