Filter/Fixup
* fix criterium related world event:none excluding unspawned entities
This commit is contained in:
parent
c85675e181
commit
254f3f7f1a
2 changed files with 2 additions and 2 deletions
|
|
@ -432,7 +432,7 @@ class CreatureListFilter extends Filter
|
|||
{
|
||||
if ($eventIds = DB::Aowow()->selectCol('SELECT `id` FROM ::events WHERE `holidayId` <> 0'))
|
||||
if ($cGuids = DB::World()->selectCol('SELECT DISTINCT `guid` FROM game_event_creature WHERE `eventEntry` IN %in', $eventIds))
|
||||
return ['s.guid', $cGuids, '!'];
|
||||
return [DB::OR, ['s.guid', $cGuids, '!'], ['s.guid', null]];
|
||||
|
||||
return [0];
|
||||
}
|
||||
|
|
|
|||
|
|
@ -228,7 +228,7 @@ class GameObjectListFilter extends Filter
|
|||
{
|
||||
if ($eventIds = DB::Aowow()->selectCol('SELECT `id` FROM ::events WHERE `holidayId` <> 0'))
|
||||
if ($goGuids = DB::World()->selectCol('SELECT DISTINCT `guid` FROM game_event_gameobject WHERE `eventEntry` IN %in', $eventIds))
|
||||
return ['s.guid', $goGuids, '!'];
|
||||
return [DB::OR, ['s.guid', $goGuids, '!'], ['s.guid', null]];
|
||||
|
||||
return [0];
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue