mirror of
https://github.com/Sarjuuk/aowow.git
synced 2025-11-29 15:58:16 +08:00
- Caching: also prevent caching in AjaxHandler
- Util: initialize enchantments even if it has no usable stats - NPCs: * added tamability to infobox * added pet-spells to controlled spells tab * fixed displaying texts for zero-length strings, also adapted TrinityCore:master/e567ab95972508adc85a36f867723114a04fe227 * hide listview column 'type', when displaying one specific type - Utility - missing-screenshots: reduced list-size to 200 - fixed copypasta-typo in locale_eses.js - Skill: fixed error in detail page title
This commit is contained in:
@@ -1186,9 +1186,12 @@ class Util
|
||||
if ($raw)
|
||||
$result[$eId] = $jsonStats;
|
||||
else
|
||||
{
|
||||
$result[$eId] = [];
|
||||
foreach ($jsonStats as $k => $v) // check if we use these mods
|
||||
if ($str = Util::$itemMods[$k])
|
||||
$result[$eId][$str] = $v;
|
||||
}
|
||||
}
|
||||
|
||||
return $result;
|
||||
|
||||
Reference in New Issue
Block a user