mirror of
https://github.com/oldminecraftcommunity/NostalgiaCore.git
synced 2026-11-20 11:39:43 +00:00
fixed sheep colors, fixed slipperiness
This commit is contained in:
parent
3b65160552
commit
7ecfcacec6
2 changed files with 2 additions and 2 deletions
|
|
@ -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;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -113,6 +113,6 @@ class Sheep extends Animal{
|
|||
if(mt_rand(0, 500)){
|
||||
return 0x0;
|
||||
}
|
||||
return 0x0;
|
||||
return 0x6;
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue