mirror of
https://github.com/essentials/Essentials.git
synced 2025-02-24 08:22:56 +01:00
Check if player is still online
This commit is contained in:
parent
61d53a3347
commit
b5873f28fd
@ -101,6 +101,10 @@ public class EssentialsSpawnPlayerListener implements Listener
|
|||||||
@Override
|
@Override
|
||||||
public void run()
|
public void run()
|
||||||
{
|
{
|
||||||
|
if (!user.isOnline()) {
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
//This method allows for multiple line player announce messages using multiline yaml syntax #EasterEgg
|
//This method allows for multiple line player announce messages using multiline yaml syntax #EasterEgg
|
||||||
if (ess.getSettings().getAnnounceNewPlayers())
|
if (ess.getSettings().getAnnounceNewPlayers())
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user