mirror of
https://github.com/oldminecraftcommunity/NostalgiaCore.git
synced 2026-11-21 03:59:43 +00:00
added keepinventory into extra.properties
This commit is contained in:
parent
57f8067434
commit
a39791f092
5 changed files with 9 additions and 5 deletions
|
|
@ -188,10 +188,8 @@ class Arrow extends Entity{
|
|||
$v4 = MovingObjectPosition::fromEntity($bestEnt);
|
||||
}
|
||||
|
||||
//TODO entity collisions
|
||||
if($v4 != null){
|
||||
if($v4->entityHit != null){
|
||||
//TODO entity hit
|
||||
$v49 = sqrt($this->speedY*$this->speedY + $this->speedX*$this->speedX + $this->speedZ*$this->speedZ);
|
||||
$damage = ceil($v49+$v49);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue