Backport 1.5 leaderboards

This commit is contained in:
2025-09-12 07:20:59 -07:00
parent e15d5f997b
commit 03243fcde7
5 changed files with 64 additions and 9 deletions

View File

@@ -7,6 +7,12 @@ if (isAllowedDatabaseVersion(getClientVersion())) {
exit;
}
}
if (isAllowedDatabaseVersion(getClientVersion())) {
if (getClientVersion() == "1.5.0" || getClientVersion() == "1.5.1" || getClientVersion() == "1.5.2") {
require __DIR__ . '/backported/1.5/getTopPlayers.php';
exit;
}
}
if ($_SERVER['HTTP_REQUESTER'] != 'BerryDashLauncher') {
checkClientDatabaseVersion();
}