mirror of
https://github.com/slawkens/myaac.git
synced 2025-06-17 18:24:33 +02:00
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 <slawkens@gmail.com>
This commit is contained in:
parent
b8abc11b96
commit
577037becc
@ -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([
|
||||
|
Loading…
x
Reference in New Issue
Block a user