Added proper arrows and damage

This commit is contained in:
Shoghi Cervantes
2014-08-30 01:22:46 +02:00
parent 7aeacf2705
commit bf839e821c
7 changed files with 329 additions and 14 deletions

View File

@@ -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){