Skip to content

Commit

Permalink
- fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
Grzybol committed Mar 17, 2024
1 parent b0af517 commit 0b16e43
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
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>3.2.50-SNAPSHOT</version>
<version>3.2.51-SNAPSHOT</version>
<packaging>jar</packaging>

<name>BetterElo</name>
Expand Down
1 change: 1 addition & 0 deletions src/main/java/betterbox/mine/game/betterelo/Event.java
Original file line number Diff line number Diff line change
Expand Up @@ -518,6 +518,7 @@ public void onPlayerInteract(PlayerInteractEvent event) {

ItemStack chestplate = player.getInventory().getChestplate();
if (chestplate == null || !chestplate.getType().toString().contains("ELYTRA")) {
event.setCancelled(true);
pluginLogger.log(PluginLogger.LogLevel.DEBUG_LVL3,"Event.onPlayerInteract player is not wearing Elytra!");
return;

Expand Down

0 comments on commit 0b16e43

Please sign in to comment.