mirror of
https://github.com/oldminecraftcommunity/NostalgiaCore.git
synced 2026-11-20 19:49:44 +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
|
|
@ -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");
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue