forked from GeyserMC/Geyser
Fixed language processing and chat colours being reset for no reason
This commit is contained in:
parent
e1d1f9ee8a
commit
1e1d2f00ae
2 changed files with 1 additions and 2 deletions
|
@ -69,7 +69,7 @@ public class JavaChatTranslator extends PacketTranslator<ServerChatPacket> {
|
|||
List<String> paramsTranslated = MessageUtils.getTranslationParams(((TranslationMessage) packet.getMessage()).getTranslationParams(), locale);
|
||||
textPacket.setParameters(paramsTranslated);
|
||||
|
||||
textPacket.setMessage(MessageUtils.insertParams(MessageUtils.getTranslatedBedrockMessage(packet.getMessage(), locale, false), paramsTranslated));
|
||||
textPacket.setMessage(MessageUtils.insertParams(MessageUtils.getTranslatedBedrockMessage(packet.getMessage(), locale, true), paramsTranslated));
|
||||
} else {
|
||||
textPacket.setNeedsTranslation(false);
|
||||
|
||||
|
|
|
@ -188,7 +188,6 @@ public class MessageUtils {
|
|||
base += "f";
|
||||
break;
|
||||
case RESET:
|
||||
case NONE:
|
||||
base += "r";
|
||||
break;
|
||||
default:
|
||||
|
|
Loading…
Reference in a new issue