Skip to content
This repository has been archived by the owner on Feb 9, 2021. It is now read-only.

Commit

Permalink
Reenabled collision against entities on move
Browse files Browse the repository at this point in the history
  • Loading branch information
shoghicp committed Nov 6, 2014
1 parent f1519e6 commit 7e1095e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/pocketmine/entity/Entity.php
Original file line number Diff line number Diff line change
Expand Up @@ -874,7 +874,7 @@ public function move($dx, $dy, $dz){
//TODO: big messy loop
}*/

$list = $this->level->getCollisionCubes($this, $this->boundingBox->getOffsetBoundingBox($dx, $dy, $dz), false);
$list = $this->level->getCollisionCubes($this, $this->boundingBox->getOffsetBoundingBox($dx, $dy, $dz));


foreach($list as $bb){
Expand Down

0 comments on commit 7e1095e

Please sign in to comment.