mrbuilder1961 / ChatPatches

A Minecraft client-side mod that touches up Minecraft's mundane chat, with configurability in mind!
GNU Lesser General Public License v3.0
47 stars 18 forks source link

vanilla team messages are blank - v210.6.5.1 - 1.21 #199

Closed xxtg666 closed 4 days ago

xxtg666 commented 3 weeks ago

Description

When Chat Patches and No Chat Reports are installed together, the team messages received are blank and errors are reported in the logs

How to reproduce

Send a team message via /teammsg

Expected result

Display the team messages

Log file link

[13:36:09] [Render thread/ERROR]: [ChatUtils.modifyMessage] An error occurred while modifying message '-> [1] <xxtg666> test', returning original:
[13:36:09] [Render thread/ERROR]: [ChatUtils.modifyMessage] /!\ Please report this error on GitHub or Discord with the full log file attached! /!\
java.lang.UnsupportedOperationException: null
    at java.base/java.util.ImmutableCollections.uoe(ImmutableCollections.java:142) ~[?:?]
    at java.base/java.util.ImmutableCollections$AbstractImmutableCollection.add(ImmutableCollections.java:147) ~[?:?]
    at net.minecraft.class_5250.method_10852(class_5250.java:60) ~[client-intermediary.jar:?]
    at net.minecraft.class_5250.method_27693(class_5250.java:56) ~[client-intermediary.jar:?]
    at obro1961.chatpatches.util.ChatUtils.modifyMessage(ChatUtils.java:202) ~[chatpatches-210.6.5.1.jar:?]
    at net.minecraft.class_338.localvar$zzc000$chatpatches$modifyMessage(class_338.java:716) ~[client-intermediary.jar:?]
    at net.minecraft.class_338.method_44811(class_338.java) ~[client-intermediary.jar:?]
    at net.minecraft.class_338.method_1812(class_338.java:208) ~[client-intermediary.jar:?]
    at net.minecraft.class_7594.method_44736(class_7594.java:196) ~[client-intermediary.jar:?]
    at net.minecraft.class_634.method_43596(class_634.java:904) ~[client-intermediary.jar:?]
    at net.minecraft.class_7439.method_43631(class_7439.java:25) ~[client-intermediary.jar:?]
    at net.minecraft.class_7439.method_11054(class_7439.java:11) ~[client-intermediary.jar:?]
    at net.minecraft.class_2600.method_11072(class_2600.java:27) ~[client-intermediary.jar:?]
    at net.minecraft.class_1255.method_18859(class_1255.java:162) [client-intermediary.jar:?]
    at net.minecraft.class_4093.method_18859(class_4093.java:23) [client-intermediary.jar:?]
    at net.minecraft.class_1255.method_16075(class_1255.java:136) [client-intermediary.jar:?]
    at net.minecraft.class_1255.method_5383(class_1255.java:121) [client-intermediary.jar:?]
    at net.minecraft.class_310.method_1523(class_310.java:1240) [client-intermediary.jar:?]
    at net.minecraft.class_310.method_1514(class_310.java:882) [client-intermediary.jar:?]
    at net.minecraft.client.main.Main.main(Main.java:256) [client-intermediary.jar:?]
    at net.fabricmc.loader.impl.game.minecraft.MinecraftGameProvider.launch(MinecraftGameProvider.java:480) [fabric-loader-0.16.2.jar:?]
    at net.fabricmc.loader.impl.launch.knot.Knot.launch(Knot.java:74) [fabric-loader-0.16.2.jar:?]
    at net.fabricmc.loader.impl.launch.knot.KnotClient.main(KnotClient.java:23) [fabric-loader-0.16.2.jar:?]
    at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:103) ~[?:?]
    at java.base/java.lang.reflect.Method.invoke(Method.java:580) ~[?:?]
    at oolloo.jlw.Wrapper.invokeMain(Wrapper.java:110) [JavaWrapper.jar:?]
    at oolloo.jlw.Wrapper.main(Wrapper.java:103) [JavaWrapper.jar:?]
[13:36:09] [Render thread/INFO]: [CHAT] [13:36:09] 

Specs and Details

Optional but suggested information:

Additional context

Installing either Chat Patches or No Chat Reports separately will not cause problems, but installing both together will cause problems. No Chat Reports version: 1.21-v2.8.0

mrbuilder1961 commented 3 weeks ago

is this on a server or singleplayer? and is nochatreports configured to change chat messages to system messages?

xxtg666 commented 3 weeks ago

Both servers and singleplayer have this problem, and nochatreports is configured as "convertToGameMessage": true

mrbuilder1961 commented 1 week ago

could you please send the full log file with https://mclo.gs?

xxtg666 commented 1 week ago

ok https://mclo.gs/Mf1olJH

mrbuilder1961 commented 6 days ago

thanks for the log!! i'd also appreciate if you could try jar artifact from the latest build here, instructions on how to use it are available in the README#help section: https://github.com/mrbuilder1961/ChatPatches/actions/runs/10731835757 https://github.com/mrbuilder1961/ChatPatches/actions/runs/10761047033

mrbuilder1961 commented 5 days ago

sorry it automatically closed it 🙄 but i'm hoping the celebratory reaction meant it is working? i still need a concrete confirmation but im hoping all is well!

xxtg666 commented 4 days ago

it is working!