Skip to content

Commit

Permalink
fix: sponge stick not dealing with durability enchantment
Browse files Browse the repository at this point in the history
  • Loading branch information
acrylic-style committed Nov 8, 2023
1 parent 88d7e75 commit ad53eed
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ plugins {
}

group = "net.azisaba"
version = "6.7.11"
version = "6.7.12"

java {
toolchain.languageVersion.set(JavaLanguageVersion.of(8))
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ public void onPlayerInteract(PlayerInteractEvent e) {
}
}
if (affected > 0 && e.getPlayer().getGameMode() != GameMode.CREATIVE) {
ItemStackExKt.damage(e.getItem(), e.getPlayer(), 1, false, true);
ItemStackExKt.damage(e.getItem(), e.getPlayer(), 1, true, true);
}
}
}

0 comments on commit ad53eed

Please sign in to comment.