mirror of
https://github.com/TotalFreedomMC/TF-EssentialsX.git
synced 2025-02-11 11:49:12 +00:00
Check if player is still online
This commit is contained in:
parent
379e75f3e6
commit
335d8b7f20
1 changed files with 4 additions and 0 deletions
|
@ -101,6 +101,10 @@ public class EssentialsSpawnPlayerListener implements Listener
|
|||
@Override
|
||||
public void run()
|
||||
{
|
||||
if (!user.isOnline()) {
|
||||
return;
|
||||
}
|
||||
|
||||
//This method allows for multiple line player announce messages using multiline yaml syntax #EasterEgg
|
||||
if (ess.getSettings().getAnnounceNewPlayers())
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue