diff --git a/core/Players/PlayerList.php b/core/Players/PlayerList.php index bbc49cda..45e33bbf 100644 --- a/core/Players/PlayerList.php +++ b/core/Players/PlayerList.php @@ -413,7 +413,7 @@ class PlayerList implements ManialinkPageAnswerListener, CallbackListener, Timer $listShownValue = $this->playersListShown[$player->login]; if ($listShownValue && $listShownValue !== self::SHOWN_MAIN_WINDOW) { $frame = $this->showAdvancedPlayerWidget($player, $listShownValue); - $manialink->addChild($frame); + $maniaLink->addChild($frame); } // Render and display xml diff --git a/plugins/MCTeam/CustomVotesPlugin.php b/plugins/MCTeam/CustomVotesPlugin.php index 560ec377..492e9551 100644 --- a/plugins/MCTeam/CustomVotesPlugin.php +++ b/plugins/MCTeam/CustomVotesPlugin.php @@ -324,7 +324,7 @@ class CustomVotesPlugin implements CommandListener, CallbackListener, ManialinkP //Define Description Label $menuEntries = count($this->voteMenuItems); $descriptionFrame = new Frame(); - $manialink->addChild($descriptionFrame); + $maniaLink->addChild($descriptionFrame); $descriptionFrame->setPosition($posX - $menuEntries * $itemSize * 1.15 - 6, $posY); $descriptionLabel = new Label(); @@ -336,7 +336,7 @@ class CustomVotesPlugin implements CommandListener, CallbackListener, ManialinkP //Popout Frame $popoutFrame = new Frame(); - $manialink->addChild($popoutFrame); + $maniaLink->addChild($popoutFrame); $popoutFrame->setPosition($posX - $itemSize * 0.5, $posY); $popoutFrame->setHorizontalAlign($popoutFrame::RIGHT); $popoutFrame->setSize(4 * $itemSize * $itemMarginFactorX, $itemSize * $itemMarginFactorY); diff --git a/plugins/MCTeam/DonationPlugin.php b/plugins/MCTeam/DonationPlugin.php index 24ec5942..d1de33d1 100644 --- a/plugins/MCTeam/DonationPlugin.php +++ b/plugins/MCTeam/DonationPlugin.php @@ -191,7 +191,7 @@ class DonationPlugin implements CallbackListener, CommandListener, Plugin { // Values Menu $popoutFrame = new Frame(); - $manialink->addChild($popoutFrame); + $maniaLink->addChild($popoutFrame); $popoutFrame->setPosition($posX - $itemSize * 0.5, $posY); $popoutFrame->setHorizontalAlign($popoutFrame::RIGHT); $popoutFrame->setSize(4 * $itemSize * $itemMarginFactorX, $itemSize * $itemMarginFactorY); @@ -208,7 +208,7 @@ class DonationPlugin implements CallbackListener, CommandListener, Plugin { // Description Label $descriptionFrame = new Frame(); - $manialink->addChild($descriptionFrame); + $maniaLink->addChild($descriptionFrame); $descriptionFrame->setPosition($posX - 50, $posY - 5); $descriptionFrame->setHorizontalAlign($descriptionFrame::RIGHT);