mirror of
https://gitlab.com/phoenix-dvpmt/mmoitems.git
synced 2024-12-22 04:37:42 +01:00
Fixed login event priority
This commit is contained in:
parent
39b10b8af8
commit
0e8e358abb
@ -31,7 +31,7 @@ import java.util.*;
|
|||||||
public class PlayerListener implements Listener {
|
public class PlayerListener implements Listener {
|
||||||
private final Map<Player, List<ItemStack>> deathItems = new HashMap<>();
|
private final Map<Player, List<ItemStack>> deathItems = new HashMap<>();
|
||||||
|
|
||||||
@EventHandler(priority = EventPriority.LOWEST)
|
@EventHandler(priority = EventPriority.LOW)
|
||||||
public void loadPlayerData(PlayerJoinEvent event) {
|
public void loadPlayerData(PlayerJoinEvent event) {
|
||||||
MMOItems.plugin.getRecipes().refreshRecipeBook(event.getPlayer());
|
MMOItems.plugin.getRecipes().refreshRecipeBook(event.getPlayer());
|
||||||
PlayerData.load(event.getPlayer());
|
PlayerData.load(event.getPlayer());
|
||||||
|
Loading…
Reference in New Issue
Block a user