diff --git a/item.php b/item.php index c7eb371..1991a03 100644 --- a/item.php +++ b/item.php @@ -299,7 +299,7 @@ if (!$item = load_cache(5, $id)) { FROM '.$UDWBaseconf['aowow']['db'].'.?_aowow_factiontemplate, ?_creature_template c { LEFT JOIN (?_locales_creature l) ON l.entry=c.entry AND ? } WHERE - skinloot=?d + skinninglootid=?d AND factiontemplateID=FactionAlliance ', $npc_cols[0], ($_SESSION['locale'] > 0) ? $_SESSION['locale'] : DBSIMPLE_SKIP, ($_SESSION['locale'] > 0) ? 1 : DBSIMPLE_SKIP, $lootid ); diff --git a/templates/wowhead/zone.tpl b/templates/wowhead/zone.tpl index 2d5eb32..afaafc9 100644 --- a/templates/wowhead/zone.tpl +++ b/templates/wowhead/zone.tpl @@ -102,6 +102,7 @@