Moved blocks around

This commit is contained in:
Shoghi Cervantes 2013-06-08 14:30:26 +02:00
parent cd932d5c07
commit 5786ba7a35
17 changed files with 2 additions and 1 deletions

View File

@ -44,7 +44,7 @@ class TorchBlock extends FlowableBlock{
); );
if($this->getSide($faces[$side])->isTransparent === true and !($side === 0 and $this->getSide(0)->getID() === FENCE)){ //Replace wit common break method if($this->getSide($faces[$side])->isTransparent === true and !($side === 0 and $this->getSide(0)->getID() === FENCE)){ //Replace wit common break method
ServerAPI::request()->api->entity->drop($this, BlockAPI::getItem($this->id)); ServerAPI::request()->api->entity->drop($this, BlockAPI::getItem($this->id, 0, 1));
$this->level->setBlock($this, new AirBlock(), false); $this->level->setBlock($this, new AirBlock(), false);
return BLOCK_UPDATE_NORMAL; return BLOCK_UPDATE_NORMAL;
} }

View File

@ -30,6 +30,7 @@ class SnowLayerBlock extends FlowableBlock{
parent::__construct(SNOW_LAYER, $meta, "Snow Layer"); parent::__construct(SNOW_LAYER, $meta, "Snow Layer");
$this->isReplaceable = true; $this->isReplaceable = true;
$this->isSolid = false; $this->isSolid = false;
$this->isFullBlock = false;
} }
public function onUpdate($type){ public function onUpdate($type){