Skip to content

Commit

Permalink
Merge pull request #37 from Grzybol/zephyr-patches2
Browse files Browse the repository at this point in the history
- fix
  • Loading branch information
Grzybol authored Apr 4, 2024
2 parents 89c41d9 + ee47423 commit f44c941
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 6 deletions.
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

<groupId>betterbox.mine.game</groupId>
<artifactId>BetterElo</artifactId>
<version>4.0.6-SNAPSHOT</version>
<version>4.0.7-SNAPSHOT</version>
<packaging>jar</packaging>

<name>BetterElo</name>
Expand Down
11 changes: 6 additions & 5 deletions src/main/java/betterbox/mine/game/betterelo/Event.java
Original file line number Diff line number Diff line change
Expand Up @@ -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);

}


Expand Down

0 comments on commit f44c941

Please sign in to comment.