
[Bug]: Player's name randomly shows a "\" in it
AllOutJay opened this issue ยท 4 comments
๐ Description
Players name randomly shows a \ in it. Assuming it is because they have an _ in their name.
๐ Steps to reproduce
- Have the required mods installed
- [Assumption] Get a player with a _ in their name to send a message in Minecraft
- View the \ in their name on Discord now
โ Expected behavior
The name in Minecraft should appear as the name in Discord. It should not add characters that aren't there.
โ Actual behavior
The mod when sending the message to Discord is adding a \ to a player's name.
๐ฎ Minecraft Version
1.21.4
๐ ๏ธ Mod Version
3.2.3
๐ฆ Mod Loader
Fabric
๐ง Mod Loader Version
0.16.10
๐ CraterLib Version
CraterLib-Fabric-1.21.3-2.1.3
๐ Logs & Screenshots
Message shown in Discord where their name shows as "KnightFox_"
Message shown in Console where their name is just "KnightFox_"
Hmmm, yeah we probably shouldn't do that in webhook names. Only in embeds and normal messages. Confirmed bug
Did want to mention that this worked fine previously. I think this began to occur in the latest update.
Yeah. It was related to a feature request, but the filter is applied in the wrong place for webhook names.