mirror of
https://github.com/oldminecraftcommunity/NostalgiaCore.git
synced 2026-11-21 20:19:44 +00:00
small php8.2 tweaks
This commit is contained in:
parent
ca553d6bfd
commit
d8b44469e7
3 changed files with 5 additions and 1 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue