From 3bce4d8576a99ceb1f1bf50a161b5eefb8d5316c Mon Sep 17 00:00:00 2001 From: Shane Freeder Date: Tue, 2 Apr 2024 14:02:26 +0100 Subject: [PATCH] Succesful is not an extended state --- .../proxy/connection/backend/BackendPlaySessionHandler.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/proxy/src/main/java/com/velocitypowered/proxy/connection/backend/BackendPlaySessionHandler.java b/proxy/src/main/java/com/velocitypowered/proxy/connection/backend/BackendPlaySessionHandler.java index 44a3839bc..18f242fe3 100644 --- a/proxy/src/main/java/com/velocitypowered/proxy/connection/backend/BackendPlaySessionHandler.java +++ b/proxy/src/main/java/com/velocitypowered/proxy/connection/backend/BackendPlaySessionHandler.java @@ -214,10 +214,10 @@ public class BackendPlaySessionHandler implements MinecraftSessionHandler { serverConn.getConnection().write(new ResourcePackResponsePacket( packet.getId(), packet.getHash(), PlayerResourcePackStatusEvent.Status.DOWNLOADED)); - serverConn.getConnection().write(new ResourcePackResponsePacket( - packet.getId(), packet.getHash(), - PlayerResourcePackStatusEvent.Status.SUCCESSFUL)); } + serverConn.getConnection().write(new ResourcePackResponsePacket( + packet.getId(), packet.getHash(), + PlayerResourcePackStatusEvent.Status.SUCCESSFUL)); } if (modifiedPack) { logger.warn("A plugin has tried to modify a ResourcePack provided by the backend server "