diff --git a/Plugins/Mineplex.Core/src/mineplex/core/achievement/AchievementManager.java b/Plugins/Mineplex.Core/src/mineplex/core/achievement/AchievementManager.java index c1f9de16e..755cc6199 100644 --- a/Plugins/Mineplex.Core/src/mineplex/core/achievement/AchievementManager.java +++ b/Plugins/Mineplex.Core/src/mineplex/core/achievement/AchievementManager.java @@ -4,6 +4,7 @@ import java.util.UUID; import org.bukkit.entity.Player; import org.bukkit.event.EventHandler; +import org.bukkit.event.player.PlayerJoinEvent; import org.bukkit.event.player.PlayerQuitEvent; import mineplex.core.MiniPlugin; @@ -177,6 +178,12 @@ public class AchievementManager extends MiniPlugin _shop.attemptShopOpen(player, targetName, targetStats); } + @EventHandler + public void fixPressE(PlayerJoinEvent event) + { + event.getPlayer().awardAchievement(org.bukkit.Achievement.OPEN_INVENTORY); + } + @EventHandler public void playerQuit(PlayerQuitEvent event) {