#317 fixed item pickpocketloot

This commit is contained in:
Ulf Gebhardt 2017-02-16 13:47:30 +01:00
parent ef261d0855
commit c4a3b72b01

View File

@ -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
);