mirror of
https://github.com/TotalFreedomMC/TFGuilds.git
synced 2024-12-22 16:05:00 +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;
|
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)
|
||||||
|
|
Loading…
Reference in a new issue