diff --git a/pom.xml b/pom.xml index 590c9dc..bd594a8 100644 --- a/pom.xml +++ b/pom.xml @@ -6,7 +6,7 @@ betterbox.mine.game BetterElo - 4.0.6-SNAPSHOT + 4.0.7-SNAPSHOT jar BetterElo diff --git a/src/main/java/betterbox/mine/game/betterelo/Event.java b/src/main/java/betterbox/mine/game/betterelo/Event.java index b78e8bd..c64b86a 100644 --- a/src/main/java/betterbox/mine/game/betterelo/Event.java +++ b/src/main/java/betterbox/mine/game/betterelo/Event.java @@ -486,12 +486,13 @@ public void onPlayerInteract(PlayerInteractEvent event) { return; } } - pluginLogger.log(PluginLogger.LogLevel.ZEPHYR, "Event.checking canUseZephyr"); - if(canUseZephyr(player)) { - pluginLogger.log(PluginLogger.LogLevel.ZEPHYR, "Event.canUseZephyr passed"); - hasZephyrLore(player); - } + } + pluginLogger.log(PluginLogger.LogLevel.ZEPHYR, "Event.checking canUseZephyr"); + if(canUseZephyr(player) && event.getAction() != Action.RIGHT_CLICK_AIR) { + pluginLogger.log(PluginLogger.LogLevel.ZEPHYR, "Event.canUseZephyr passed"); + hasZephyrLore(player); + }