diff --git a/src/entity/Entity.php b/src/entity/Entity.php index d55f6646..3c412b6d 100644 --- a/src/entity/Entity.php +++ b/src/entity/Entity.php @@ -526,7 +526,7 @@ class Entity extends Position $horizontalMultiplyFactor = 0.91; if($this->onGround){ $horizontalMultiplyFactor = 0.54; - $b = $this->level->level->getBlockID(floor($this->x), floor($this->boundingBox->minX) - 1, floor($this->z)); + $b = $this->level->level->getBlockID(floor($this->x), floor($this->boundingBox->minY) - 1, floor($this->z)); if($b > 0){ $horizontalMultiplyFactor = StaticBlock::getSlipperiness($b) * 0.91; } diff --git a/src/entity/animal/Sheep.php b/src/entity/animal/Sheep.php index 93444bfa..6f58cfcd 100644 --- a/src/entity/animal/Sheep.php +++ b/src/entity/animal/Sheep.php @@ -113,6 +113,6 @@ class Sheep extends Animal{ if(mt_rand(0, 500)){ return 0x0; } - return 0x0; + return 0x6; } } \ No newline at end of file