Пример #1
0
 /**
  * @param Effect
  */
 public function addEffect(Effect $effect)
 {
     //Overwrite
     if ($effect->isBad() && $this->isCreative()) {
         return;
     }
     parent::addEffect($effect);
 }