From c4a3b72b018cebacb6a20ddc3bacd85079a355f8 Mon Sep 17 00:00:00 2001 From: Ulf Gebhardt Date: Thu, 16 Feb 2017 13:47:30 +0100 Subject: [PATCH] #317 fixed item pickpocketloot --- item.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 );