fixing the things

This commit is contained in:
Shrek5InTheatres2019
2019-09-09 16:50:05 -07:00
parent 478d542981
commit 67bfb40dd5
3 changed files with 10 additions and 9 deletions

View File

@ -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;
}