From 702dad25c4aeaa577920447de5b788fc1c5ffbbe Mon Sep 17 00:00:00 2001 From: Gero Date: Thu, 7 Dec 2023 13:57:52 +0100 Subject: [PATCH] don't clear applied resource pack for 1.20.3 in config state --- .../proxy/connection/backend/ConfigSessionHandler.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/proxy/src/main/java/com/velocitypowered/proxy/connection/backend/ConfigSessionHandler.java b/proxy/src/main/java/com/velocitypowered/proxy/connection/backend/ConfigSessionHandler.java index d01afa563..5eafa38a2 100644 --- a/proxy/src/main/java/com/velocitypowered/proxy/connection/backend/ConfigSessionHandler.java +++ b/proxy/src/main/java/com/velocitypowered/proxy/connection/backend/ConfigSessionHandler.java @@ -85,8 +85,8 @@ public class ConfigSessionHandler implements MinecraftSessionHandler { ConnectedPlayer player = serverConn.getPlayer(); if (player.getProtocolVersion() == ProtocolVersion.MINECRAFT_1_20_2) { resourcePackToApply = player.getAppliedResourcePack(); + player.clearAppliedResourcePack(); } - player.clearAppliedResourcePack(); } @Override