Temp. fix for Ladders popping out

This commit is contained in:
Shoghi Cervantes 2014-01-22 13:09:27 +01:00
parent cfb3bbfbf2
commit f4d96e3a9b

View File

@ -45,11 +45,11 @@ class LadderBlock extends TransparentBlock{
public function onUpdate($type){
if($type === BLOCK_UPDATE_NORMAL){
if($this->getSide(0)->getID() === AIR){ //Replace with common break method
/*if($this->getSide(0)->getID() === AIR){ //Replace with common break method
ServerAPI::request()->api->entity->drop($this, BlockAPI::getItem(LADDER, 0, 1));
$this->level->setBlock($this, new AirBlock(), true, true, true);
return BLOCK_UPDATE_NORMAL;
}
}*/
}
return false;
}