diff --git a/item.php b/item.php index 1991a03..917e8b6 100644 --- a/item.php +++ b/item.php @@ -272,7 +272,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 - pickpocketloot=?d + pickpocketlootid=?d AND factiontemplateID=FactionAlliance ', $npc_cols[0], ($_SESSION['locale'] > 0) ? $_SESSION['locale'] : DBSIMPLE_SKIP, ($_SESSION['locale'] > 0) ? 1 : DBSIMPLE_SKIP, $lootid );