Fix local attribute setting

This commit is contained in:
Nassim Jahnke
2023-09-23 09:42:59 +10:00
parent 3ecca26a7b
commit 7e02ed1a60
11 changed files with 22 additions and 1872 deletions

View File

@@ -20,5 +20,5 @@ index 0000000000000000000000000000000000000000..00000000000000000000000000000000
+ }
+ // Paper end - do not accept invalid information
this.player.updateOptions(packet.information());
this.connection.channel.attr(io.papermc.paper.adventure.PaperAdventure.LOCALE_ATTRIBUTE).set(net.kyori.adventure.translation.Translator.parseLocale(packet.information().language())); // Paper
}