Fixed login event priority

This commit is contained in:
Indyuce 2022-12-17 14:44:24 +01:00
parent 39b10b8af8
commit 0e8e358abb

View File

@ -31,7 +31,7 @@ import java.util.*;
public class PlayerListener implements Listener {
private final Map<Player, List<ItemStack>> deathItems = new HashMap<>();
@EventHandler(priority = EventPriority.LOWEST)
@EventHandler(priority = EventPriority.LOW)
public void loadPlayerData(PlayerJoinEvent event) {
MMOItems.plugin.getRecipes().refreshRecipeBook(event.getPlayer());
PlayerData.load(event.getPlayer());