From 0e8e358abbf6291a21bf35f1ae695fd5e7dad6a5 Mon Sep 17 00:00:00 2001 From: Indyuce Date: Sat, 17 Dec 2022 14:44:24 +0100 Subject: [PATCH] Fixed login event priority --- .../main/java/net/Indyuce/mmoitems/listener/PlayerListener.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/MMOItems-Dist/src/main/java/net/Indyuce/mmoitems/listener/PlayerListener.java b/MMOItems-Dist/src/main/java/net/Indyuce/mmoitems/listener/PlayerListener.java index a188460f..2629e47f 100644 --- a/MMOItems-Dist/src/main/java/net/Indyuce/mmoitems/listener/PlayerListener.java +++ b/MMOItems-Dist/src/main/java/net/Indyuce/mmoitems/listener/PlayerListener.java @@ -31,7 +31,7 @@ import java.util.*; public class PlayerListener implements Listener { private final Map> 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());