SidebarMenuManager now uses the Position object instead of an array
This commit is contained in:
@ -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();
|
||||
|
Reference in New Issue
Block a user