mirror of
https://github.com/plexusorg/Module-NickMiniMessage.git
synced 2024-12-22 09:17:38 +00:00
maybe
This commit is contained in:
parent
726bd3beb9
commit
5345e82348
@ -55,7 +55,7 @@ public class NickMMCommand extends PlexCommand
|
|||||||
{
|
{
|
||||||
for (final User user : NickMiniMessageModule.getEssentials().getOnlineUsers())
|
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()))
|
if (name.equalsIgnoreCase(plain) && !user.getUUID().equals(player.getUniqueId()))
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user