public function onUpdate($type) { if ($type == Level::BLOCK_UPDATE_NORMAL) { parent::onUpdate($type); } }