fix??????????????

This commit is contained in:
speed 2021-01-06 10:56:20 -05:00
parent 56134e2f32
commit ca7e623dd5

View file

@ -37,12 +37,18 @@ public class ChatListener implements Listener
GuildRank rank = null; GuildRank rank = null;
for (GuildRank r : guild.getRanks()) for (GuildRank r : guild.getRanks())
{
if (r != null)
{
if (r.getMembers() != null)
{ {
if (r.getMembers().contains(player.getUniqueId())) if (r.getMembers().contains(player.getUniqueId()))
{ {
rank = r; rank = r;
} }
} }
}
}
String display; String display;
if (rank == null) if (rank == null)