Don't modify content when highlighting pings

This commit is contained in:
Draycia committed 2022-12-16 22:00:09 -08:00
1 parent 032b392c6b
commit 585bc25aee
1 file changed
+1 -1
@@ -57,7 +57,7 @@ public class PingHandler {
recipient.playSound(configFactory.primaryConfig().pings().sound()); recipient.playSound(configFactory.primaryConfig().pings().sound());
} }
return Component.text(recipientPlayer.username()).color(configFactory.primaryConfig().pings().highlightTextColor()); return Component.text(prefix + matchedText.content()).color(configFactory.primaryConfig().pings().highlightTextColor());
}) })
.build()); .build());
}); });