Skip to content

Commit

Permalink
1.25.1.1 - remove debug code
Browse files Browse the repository at this point in the history
  • Loading branch information
moom0o committed Apr 3, 2022
1 parent 2775299 commit 3e90156
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 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>me.moomoo</groupId>
<artifactId>anarchyexploitfixes</artifactId>
<version>1.25.1</version>
<version>1.25.1.1</version>
<packaging>jar</packaging>

<name>AnarchyExploitFixes</name>
Expand Down
1 change: 0 additions & 1 deletion src/main/java/me/moomoo/anarchyexploitfixes/Main.java
Original file line number Diff line number Diff line change
Expand Up @@ -242,7 +242,6 @@ public void revert(ItemStack item) {
if (getConfig().getBoolean("RevertUnbreakables.Enabled")) {
if (!getConfig().getStringList("ItemsSkipped").contains(item.getType().name())) {
if (!getConfig().getBoolean("RevertUnbreakables.SkipZeroDurability") || item.getType().getMaxDurability() != 0) {
getLogger().info(item.getType().getMaxDurability() + "/" + item.getDurability());
if (item.getDurability() > item.getType().getMaxDurability()) {
item.setDurability(item.getType().getMaxDurability());
}
Expand Down

0 comments on commit 3e90156

Please sign in to comment.