Updated blocks bounding boxes

This commit is contained in:
Shoghi Cervantes
2014-08-24 16:30:56 +02:00
parent f0f9bccb4b
commit c47e359262
24 changed files with 111 additions and 6 deletions

View File

@ -30,6 +30,11 @@ class DeadBush extends Flowable{
$this->hardness = 0;
}
public function getBoundingBox(){
return null;
}
public function onUpdate($type){
if($type === Level::BLOCK_UPDATE_NORMAL){
if($this->getSide(0)->isTransparent === true){ //Replace with common break method