mirror of
https://github.com/mcMMO-Dev/mcMMO.git
synced 2025-06-27 11:14:44 +02:00
fixing the things
This commit is contained in:
@ -50,9 +50,7 @@ public class PlayerProfileLoadingTask extends BukkitRunnable {
|
||||
// If successful, schedule the apply
|
||||
if (profile.isLoaded()) {
|
||||
new ApplySuccessfulProfile(new McMMOPlayer(player, profile)).runTask(mcMMO.p);
|
||||
Bukkit.getScheduler().runTask(mcMMO.p, () -> {
|
||||
EventUtils.callPlayerProfileLoadEvent(player, profile);
|
||||
});
|
||||
EventUtils.callPlayerProfileLoadEvent(player, profile);
|
||||
return;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user