revert fixdurability task. not necessary

This commit is contained in:
DNx5 2015-09-21 00:45:37 +07:00
parent 365e23d863
commit dfe1074f65

View File

@ -7,7 +7,6 @@ import org.bukkit.event.EventHandler;
import org.bukkit.event.Listener; import org.bukkit.event.Listener;
import org.bukkit.event.block.BlockBreakEvent; import org.bukkit.event.block.BlockBreakEvent;
import org.bukkit.event.block.BlockPlaceEvent; import org.bukkit.event.block.BlockPlaceEvent;
import org.bukkit.inventory.ItemStack;
public class AuthMeBlockListener implements Listener { public class AuthMeBlockListener implements Listener {
@ -31,7 +30,6 @@ public class AuthMeBlockListener implements Listener {
if (player == null || Utils.checkAuth(player)) { if (player == null || Utils.checkAuth(player)) {
return; return;
} }
Utils.fixDurability(player.getItemInHand());
event.setCancelled(true); event.setCancelled(true);
} }