Fixed ServerRanking based on LocalRecords (namespace MCTeam mistake)

This commit is contained in:
Max Klaversma 2014-04-27 17:15:09 +02:00 committed by Steffen Schröder
parent 969933e585
commit 8092188788

View File

@ -230,7 +230,7 @@ class ServerRankingPlugin implements Plugin, CallbackListener, CommandListener {
$result->free_result();
/** @var \MCTeam\LocalRecordsPlugin $localRecordsPlugin */
$localRecordsPlugin = $this->maniaControl->pluginManager->getPlugin('LocalRecordsPlugin');
$localRecordsPlugin = $this->maniaControl->pluginManager->getPlugin('\MCTeam\LocalRecordsPlugin');
$maps = $this->maniaControl->mapManager->getMaps();
foreach($maps as $map) {
$records = $localRecordsPlugin->getLocalRecords($map, $maxRecords);