This commit is contained in:
Telesphoreo 2024-06-15 19:27:52 -05:00
parent 726bd3beb9
commit 5345e82348

View File

@ -55,7 +55,7 @@ public class NickMMCommand extends PlexCommand
{
for (final User user : NickMiniMessageModule.getEssentials().getOnlineUsers())
{
final String name = user.getNickname() != null ? plainText.serialize(mmString(user.getNickname())) : user.getName();
final String name = user.getNickname() != null ? plainText.serialize(legacyComponent.deserialize(user.getNickname())) : user.getName();
if (name.equalsIgnoreCase(plain) && !user.getUUID().equals(player.getUniqueId()))
{