Renamed renderMenuIcon to renderMenuEntry

This commit is contained in:
Jocy
2017-05-11 22:37:17 +02:00
parent 9f701cddea
commit bb9f82af56
5 changed files with 6 additions and 6 deletions

View File

@ -802,7 +802,7 @@ class CustomVotesPlugin implements SidebarMenuEntryRenderable, CommandListener,
/**
* Call here the function which updates the MenuIcon Manialink
*/
public function renderMenuIcon() {
public function renderMenuEntry() {
$this->showIcon();
}
}

View File

@ -532,7 +532,7 @@ class DonationPlugin implements CallbackListener, CommandListener, Plugin, Sideb
$this->maniaControl->getManialinkManager()->displayWidget($maniaLink, $player, 'TopDons');
}
public function renderMenuIcon() {
public function renderMenuEntry() {
$this->displayDonateWidget();
}
}