mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-05-13 17:29:44 +00:00
Merge branch 'stable'
# Conflicts: # resources/vanilla
This commit is contained in:
commit
508c53b53a
@ -83,7 +83,7 @@ class Squid extends WaterAnimal{
|
|||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
if(++$this->switchDirectionTicker === 100 or $this->isCollided){
|
if(++$this->switchDirectionTicker === 100){
|
||||||
$this->switchDirectionTicker = 0;
|
$this->switchDirectionTicker = 0;
|
||||||
if(mt_rand(0, 100) < 50){
|
if(mt_rand(0, 100) < 50){
|
||||||
$this->swimDirection = null;
|
$this->swimDirection = null;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user