mirror of
https://github.com/AuthMe/AuthMeReloaded.git
synced 2024-11-23 18:55:11 +01:00
revert fixdurability task. not necessary
This commit is contained in:
parent
365e23d863
commit
dfe1074f65
@ -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);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user