From 809218878888dd59d828a58b59c443ddc8f6e7bb Mon Sep 17 00:00:00 2001 From: Max Klaversma Date: Sun, 27 Apr 2014 17:15:09 +0200 Subject: [PATCH] Fixed ServerRanking based on LocalRecords (namespace MCTeam mistake) --- application/plugins/ServerRanking.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/application/plugins/ServerRanking.php b/application/plugins/ServerRanking.php index 0cfae230..7394e9f6 100644 --- a/application/plugins/ServerRanking.php +++ b/application/plugins/ServerRanking.php @@ -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);