small php8.2 tweaks

This commit is contained in:
GameHerobrine 2023-08-21 04:39:44 +03:00
parent ca553d6bfd
commit d8b44469e7
3 changed files with 5 additions and 1 deletions

View file

@ -23,7 +23,7 @@ class TaskRandomWalk extends TaskBase
{
if(($ai->entity instanceof Creeper && $ai->entity->isIgnited()) || $ai->isStarted("TaskTempt")) {
$this->reset();
return false; //TODO Better way: block movement
return false; //TODO Better way: block movement
}
--$this->selfCounter;
$ai->mobController->moveNonInstant($this->x, 0, $this->z);