better fall dmg, tweaks to tnt motion, spam remove

This commit is contained in:
GameHerobrine 2024-03-05 04:44:09 +03:00
parent 9ee4b08657
commit f3a0705c66
5 changed files with 8 additions and 8 deletions

View file

@ -859,7 +859,7 @@ class Entity extends Position
$clz::fallOn($this->level, $x, $y, $z, $this, floor($this->fallStart - $this->y));
}
$dmg = floor($this->fallStart - $this->y) - 3;
$dmg = ceil($this->fallStart - $this->y - 3);
if($dmg > 0){
$this->harm($dmg, "fall");
}