Fixed LocalRecords Bug, Fixed DonationsPlugin and CustomVotesPlugin position

https://github.com/ManiaControl/ManiaControl/issues/101
This commit is contained in:
Jocy
2017-05-07 20:22:59 +02:00
parent 33616ec10d
commit fd743a08d9
4 changed files with 62 additions and 10 deletions

View File

@ -38,7 +38,7 @@ class LocalRecordsPlugin implements CallbackListener, CommandListener, TimerList
* Constants
*/
const ID = 7;
const VERSION = 0.2;
const VERSION = 0.3;
const NAME = 'Local Records Plugin';
const AUTHOR = 'MCTeam';
const MLID_RECORDS = 'ml_local_records';
@ -352,6 +352,9 @@ class LocalRecordsPlugin implements CallbackListener, CommandListener, TimerList
}
break;
}
default:
$this->updateManialink = true;
break;
}
}
@ -592,7 +595,7 @@ class LocalRecordsPlugin implements CallbackListener, CommandListener, TimerList
$pageFrame = new Frame();
$frame->addChild($pageFrame);
$posY = $height / 2 - 10;
$paging->addPage($pageFrame);
$paging->addPageControl($pageFrame);
}
$recordFrame = new Frame();