From 577037beccd740168d56b05124f95c2d28ab803a Mon Sep 17 00:00:00 2001 From: Goosey Date: Sat, 14 Jun 2025 17:58:08 +0400 Subject: [PATCH] fix: boostedcreatures for 13.40 (#307) * boostedcreatures fix for 13.40 Fixes the boosted boss/creature display on the login page for 13.40 running the default cipsoft client. * Adjust version --------- Co-authored-by: slawkens --- login.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/login.php b/login.php index 88d5d88a..d4d25529 100644 --- a/login.php +++ b/login.php @@ -88,8 +88,8 @@ switch ($action) { case 'boostedcreature': $clientVersion = (int)setting('core.client'); - // 14.00 and up - if ($clientVersion >= 1400) { + // 13.40 and up + if ($clientVersion >= 1340) { $creatureBoost = $db->query("SELECT * FROM " . $db->tableName('boosted_creature'))->fetchAll(); $bossBoost = $db->query("SELECT * FROM " . $db->tableName('boosted_boss'))->fetchAll(); die(json_encode([