Basic entity motion on water

This commit is contained in:
Shoghi Cervantes
2014-09-27 00:09:38 +02:00
parent 529bf743db
commit 48041b2f19
6 changed files with 65 additions and 7 deletions

View File

@ -65,7 +65,7 @@ class FallingBlock extends Entity{
public function onUpdate(){
$this->entityBaseTick();
if($this->closed !== false){
if($this->closed or $this->dead){
return false;
}