3
0
Mirror von https://github.com/PaperMC/Velocity.git synchronisiert 2024-11-17 05:20:14 +01:00

don't clear applied resource pack for 1.20.3 in config state

Dieser Commit ist enthalten in:
Gero 2023-12-07 13:57:52 +01:00 committet von Shane Freeder
Ursprung 058aee259a
Commit 702dad25c4

Datei anzeigen

@ -85,9 +85,9 @@ public class ConfigSessionHandler implements MinecraftSessionHandler {
ConnectedPlayer player = serverConn.getPlayer(); ConnectedPlayer player = serverConn.getPlayer();
if (player.getProtocolVersion() == ProtocolVersion.MINECRAFT_1_20_2) { if (player.getProtocolVersion() == ProtocolVersion.MINECRAFT_1_20_2) {
resourcePackToApply = player.getAppliedResourcePack(); resourcePackToApply = player.getAppliedResourcePack();
}
player.clearAppliedResourcePack(); player.clearAppliedResourcePack();
} }
}
@Override @Override
public boolean beforeHandle() { public boolean beforeHandle() {