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 d83e6f0c6..c485be158 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 @@ -165,7 +165,7 @@ public class BackendPlaySessionHandler implements MinecraftSessionHandler { .setOriginalOrigin(ResourcePackInfo.Origin.DOWNSTREAM_SERVER); } - serverConn.getPlayer().queueResourcePack(builder.build()); + serverConn.getPlayer().queueResourcePack(toSend); } else if (serverConn.getConnection() != null) { serverConn.getConnection().write(new ResourcePackResponse( packet.getHash(), diff --git a/proxy/src/main/java/com/velocitypowered/proxy/connection/client/ConnectedPlayer.java b/proxy/src/main/java/com/velocitypowered/proxy/connection/client/ConnectedPlayer.java index f3f7f13a0..7a9146787 100644 --- a/proxy/src/main/java/com/velocitypowered/proxy/connection/client/ConnectedPlayer.java +++ b/proxy/src/main/java/com/velocitypowered/proxy/connection/client/ConnectedPlayer.java @@ -986,7 +986,7 @@ public class ConnectedPlayer implements MinecraftConnectionAssociation, Player { } return queued != null - && queued.getOriginalOrigin() == ResourcePackInfo.Origin.DOWNSTREAM_SERVER; + && queued.getOriginalOrigin() != ResourcePackInfo.Origin.DOWNSTREAM_SERVER; } /**