mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-10-19 04:15:04 +00:00
Added proper arrows and damage
This commit is contained in:
@@ -358,7 +358,7 @@ abstract class Entity extends Position implements Metadatable{
|
||||
}
|
||||
|
||||
public function canCollideWith(Entity $entity){
|
||||
return !$this->justCreated;
|
||||
return !$this->justCreated and $entity !== $this;
|
||||
}
|
||||
|
||||
protected function checkObstruction($x, $y, $z){
|
||||
|
Reference in New Issue
Block a user