mirror of
https://github.com/oldminecraftcommunity/NostalgiaCore.git
synced 2026-11-21 12:09:43 +00:00
better fall dmg, tweaks to tnt motion, spam remove
This commit is contained in:
parent
9ee4b08657
commit
f3a0705c66
5 changed files with 8 additions and 8 deletions
|
|
@ -26,7 +26,7 @@ abstract class Living extends Entity implements Pathfindable{
|
|||
//if(self::$despawnMobs) $this->server->schedule(self::$despawnTimer, [$this, "close"]); //900*20
|
||||
}
|
||||
public function fall(){
|
||||
$dmg = floor($this->fallDistance - 3);
|
||||
$dmg = ceil($this->fallDistance - 3);
|
||||
if($dmg > 0){
|
||||
$this->harm($dmg, "fall");
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue