/** * @param int $currentTick */ public function onRun($currentTick) { $popup = $this->plugin->getScrollingPopup(); $this->plugin->broadcastPopup($popup); $this->plugin->setScrollingPopup(Utils::next($popup)); }
/** * @param int $currentTick */ public function onRun($currentTick) { $tip = $this->plugin->getScrollingTip(); $this->plugin->broadcastTip($tip); $this->plugin->setScrollingTip(Utils::next($tip)); }