public function move(Player $p, Vector3 $m, $t, $cool, $tt = false)
{
if (!$tt) {
$tt = 0;
}
if ($t - $tt < 1) {
return;
} else {
$tt++;
$p->setMotion($m);
$p->onGround = true;
if ($t - $tt > 0) {
$this->getServer()->getScheduler()->scheduleDelayedTask(new CallbackTask([$this, "move"], [$p, $m, $t, $cool, $tt]), $cool * 20);
}
}
}