mirror of
https://gitlab.com/phoenix-dvpmt/mmoitems.git
synced 2025-01-23 09:41:20 +01:00
Double check the player is online closes #171
This commit is contained in:
parent
77ea222e1e
commit
4d31596c7e
@ -495,6 +495,13 @@ public class PlayerData {
|
||||
* initialized
|
||||
*/
|
||||
public static void load(Player player) {
|
||||
|
||||
/*
|
||||
* Double check they are online, for some reason even if this is fired
|
||||
* from the join event the player can be offline if they left in the same tick or something.
|
||||
*/
|
||||
if (!player.isOnline())
|
||||
return;
|
||||
|
||||
MMOPlayerData mmoData = MMOPlayerData.get(player.getUniqueId());
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user