more entity optimizations

This commit is contained in:
GameHerobrine 2023-07-28 02:50:23 +03:00
parent 2b0ad36e14
commit 2d9b37aa9c
12 changed files with 44 additions and 62 deletions

View file

@ -20,7 +20,7 @@ class TaskSwimming extends TaskBase
return;
}
if(Utils::randomFloat() < 0.8){ #1.5.2 method
if(lcg_value() < 0.8){ #1.5.2 method
$ai->mobController->setJumping(true);
}