Skip to content

Commit

Permalink
Fix misnamed variable
Browse files Browse the repository at this point in the history
  • Loading branch information
falkirks authored Apr 15, 2017
1 parent 590017d commit b6692b1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/minereset/Mine.php
Original file line number Diff line number Diff line change
Expand Up @@ -71,9 +71,9 @@ public function resetMine(){
}
}
$resetTask = new MineResetTask($chunks, $this->a, $this->b, $this->data, $this->level, $this->base->getRegionBlocker()->blockZone($this->a, $this->b, $this->getLevel()), $chunkClass);
$this->base->getServer()->getScheduler()->scheduleAsyncTask($mineResetTask);
$this->base->getServer()->getScheduler()->scheduleAsyncTask($resetTask);
}
public function __toString(){
return $this->getName();
}
}
}

0 comments on commit b6692b1

Please sign in to comment.