LOOHP / InteractiveChat

Add click and hover events to chat messages!
https://www.spigotmc.org/resources/75870/
GNU General Public License v3.0
159 stars 27 forks source link

InteractiveChatAPI.markSender method does not mark the mention #164

Open TheFaser opened 1 year ago

TheFaser commented 1 year ago

This method can't find the mention in the message. So I use ChatEvents.checkMention

Now when the message contains a mention, I have to check every word for a mention, because the markSender method throws exception if there is already a mention. image

I understand that the mention system accepts event chat and can't handle text (although why not and why not if a message is eventually returned).