mirror of
https://github.com/oldminecraftcommunity/NostalgiaCore.git
synced 2026-11-20 11:39:43 +00:00
some CS
This commit is contained in:
parent
437576a981
commit
a4b7fbf2df
10 changed files with 24 additions and 24 deletions
|
|
@ -179,7 +179,7 @@ abstract class Living extends Entity implements Pathfindable{
|
|||
if($this->isCollidedHorizontally && $this->isFree($this->speedX, $this->speedY + 0.6 - $this->y + $prevPosY, $this->speedZ)){
|
||||
$this->speedY = 0.3;
|
||||
}
|
||||
}else if($this->inLava){
|
||||
}elseif($this->inLava){
|
||||
$prevPosY = $this->y;
|
||||
$this->moveFlying($strafe, $forward, 0.02);
|
||||
$this->move($this->speedX, $this->speedY, $this->speedZ);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue