mirror of
https://github.com/TotalFreedomMC/TFGuilds.git
synced 2025-01-03 13:38:19 +00:00
smart
This commit is contained in:
parent
71f4e004af
commit
2701a5de4a
1 changed files with 1 additions and 1 deletions
|
@ -38,7 +38,7 @@ public class ChatListener implements Listener
|
||||||
GuildRank rank = null;
|
GuildRank rank = null;
|
||||||
for (GuildRank r : guild.getRanks())
|
for (GuildRank r : guild.getRanks())
|
||||||
{
|
{
|
||||||
if (r.getMembers().contains(player.getName()))
|
if (r.getMembers().contains(player.getUniqueId()))
|
||||||
{
|
{
|
||||||
rank = r;
|
rank = r;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue