player.resetCombat(CombatState.RUNNING);
player.isMining(false);
if (opponent instanceof Npc) {
Npc n = (Npc) opponent;
n.unblock();
opponent.resetCombat(CombatState.WAITING);
if (n.getDef().aggressive) {
player.setLastNpcChasingYou(n);
Instance.getDelayedEventHandler().add(
new MiniEvent(player, 2000) {