mirror of
https://github.com/TotalFreedomMC/TFGuilds.git
synced 2024-12-22 07:55:03 +00:00
fix??????????????
This commit is contained in:
parent
56134e2f32
commit
ca7e623dd5
1 changed files with 8 additions and 2 deletions
|
@ -37,12 +37,18 @@ public class ChatListener implements Listener
|
|||
|
||||
GuildRank rank = null;
|
||||
for (GuildRank r : guild.getRanks())
|
||||
{
|
||||
if (r != null)
|
||||
{
|
||||
if (r.getMembers() != null)
|
||||
{
|
||||
if (r.getMembers().contains(player.getUniqueId()))
|
||||
{
|
||||
rank = r;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
String display;
|
||||
if (rank == null)
|
||||
|
|
Loading…
Reference in a new issue