From 3906b47654a65abd8f8debf6d796e596b9939402 Mon Sep 17 00:00:00 2001 From: EnZaXD Date: Sun, 21 Jul 2024 17:45:13 +0200 Subject: [PATCH] Apply required changes for ViaAprilFools (#4033) 1. Allow the version provider to get the client version sent through the handshake packet 2. Allow platform to override provider instead --- .../viaversion/protocols/base/BaseProtocol.java | 4 ++-- .../velocity/platform/VelocityViaLoader.java | 11 +++++++++-- 2 files changed, 11 insertions(+), 4 deletions(-) diff --git a/common/src/main/java/com/viaversion/viaversion/protocols/base/BaseProtocol.java b/common/src/main/java/com/viaversion/viaversion/protocols/base/BaseProtocol.java index 883f1a85a..bacc45eb1 100644 --- a/common/src/main/java/com/viaversion/viaversion/protocols/base/BaseProtocol.java +++ b/common/src/main/java/com/viaversion/viaversion/protocols/base/BaseProtocol.java @@ -69,11 +69,11 @@ public class BaseProtocol extends AbstractProtocol