SidebarMenuManager now uses the Position object instead of an array

This commit is contained in:
Jocy committed 2017-05-12 10:28:04 +02:00
1 parent 6be20432ba
commit 023581c195
4 files changed
+38 -32

No files matched your search

+1 -1
View File
@@ -159,7 +159,7 @@ class DonationPlugin implements CallbackListener, CommandListener, Plugin, Sideb
// Donate Menu Icon Frame
$frame = new Frame();
$maniaLink->addChild($frame);
$frame->setPosition($pos['x'], $pos['y']);
$frame->setPosition($pos->getX(), $pos->getY());
$frame->setZ(ManialinkManager::MAIN_MANIALINK_Z_VALUE);
$backgroundQuad = new Quad();