Chat box concatenates string together for sendMessage and sendFormattedMessage
manaphoenix opened this issue ยท 1 comments
Descripe
Version is selected as own compiled build because 0.7 is not an option.
When a chatbox is used to send a message it will concatenate the message together multiple times for every player online.
Steps to reproduce
- Create a forge server with this mod.
- Connect a computer to a chatbox.
- Send a message... Everything will work as expected.
- Have another player connect to the server.
- Now, message is sent twice as a concatenated string.
Example:
sendMessage("Hello world!")
-- with one player it prints "[DefaultPrefix] Hello world!"
-- with two players it prints "[DefaultPrefix] Hello world!Hello world!"
Version
Own compiled build
Minecraft, Forge and maybe other related mods versions
Minecraft: 1.16.5 Forge: 36.2.0
Screenshots or Videos
No response
Crashlog/log
No response