From dfe1074f657b029988e95c10b64da251430c6c8f Mon Sep 17 00:00:00 2001 From: DNx5 Date: Mon, 21 Sep 2015 00:45:37 +0700 Subject: [PATCH] revert fixdurability task. not necessary --- src/main/java/fr/xephi/authme/listener/AuthMeBlockListener.java | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/main/java/fr/xephi/authme/listener/AuthMeBlockListener.java b/src/main/java/fr/xephi/authme/listener/AuthMeBlockListener.java index 58a056830..678fbca2b 100644 --- a/src/main/java/fr/xephi/authme/listener/AuthMeBlockListener.java +++ b/src/main/java/fr/xephi/authme/listener/AuthMeBlockListener.java @@ -7,7 +7,6 @@ import org.bukkit.event.EventHandler; import org.bukkit.event.Listener; import org.bukkit.event.block.BlockBreakEvent; import org.bukkit.event.block.BlockPlaceEvent; -import org.bukkit.inventory.ItemStack; public class AuthMeBlockListener implements Listener { @@ -31,7 +30,6 @@ public class AuthMeBlockListener implements Listener { if (player == null || Utils.checkAuth(player)) { return; } - Utils.fixDurability(player.getItemInHand()); event.setCancelled(true); }