Merge branch 'next-minor' into next-major

This commit is contained in:
Dylan K. Taylor
2022-11-12 17:02:56 +00:00
19 changed files with 129 additions and 37 deletions

View File

@ -118,7 +118,7 @@ abstract class Projectile extends Entity{
* Returns the amount of damage this projectile will deal to the entity it hits.
*/
public function getResultDamage() : int{
return (int) ceil($this->motion->length() * $this->damage);
return (int) ceil($this->damage);
}
public function saveNBT() : CompoundTag{