Fix join/quit messages.
This commit is contained in:
parent
6072753624
commit
15cf7f574d
@ -594,8 +594,6 @@ public class ClansManager extends MiniClientPlugin<ClientClan>implements IRelati
|
||||
return;
|
||||
}
|
||||
|
||||
if (event.getJoinMessage() != null)
|
||||
{
|
||||
event.setJoinMessage(null);
|
||||
|
||||
for (Player other : UtilServer.getPlayers())
|
||||
@ -609,7 +607,6 @@ public class ClansManager extends MiniClientPlugin<ClientClan>implements IRelati
|
||||
other.sendMessage(F.sys("Join", event.getPlayer().getName()));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@EventHandler(priority = EventPriority.LOWEST)
|
||||
public void Quit(PlayerQuitEvent event)
|
||||
@ -620,8 +617,6 @@ public class ClansManager extends MiniClientPlugin<ClientClan>implements IRelati
|
||||
return;
|
||||
}
|
||||
|
||||
if (event.getQuitMessage() != null)
|
||||
{
|
||||
event.setQuitMessage(null);
|
||||
|
||||
for (Player other : UtilServer.getPlayers())
|
||||
@ -635,7 +630,6 @@ public class ClansManager extends MiniClientPlugin<ClientClan>implements IRelati
|
||||
other.sendMessage(F.sys("Quit", event.getPlayer().getName()));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@EventHandler(priority = EventPriority.LOWEST)
|
||||
public void Kick(PlayerKickEvent event)
|
||||
|
Loading…
Reference in New Issue
Block a user