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
|
@ -38,9 +38,15 @@ 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.getUniqueId()))
|
if (r != null)
|
||||||
{
|
{
|
||||||
rank = r;
|
if (r.getMembers() != null)
|
||||||
|
{
|
||||||
|
if (r.getMembers().contains(player.getUniqueId()))
|
||||||
|
{
|
||||||
|
rank = r;
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue