fix for static weapons
This commit is contained in:
parent
8e3af6a893
commit
1e809dba73
@ -61,7 +61,7 @@ public class StaticLootProcessor
|
||||
public static List<Template> CreateDynamicStaticContainers(RootData rawMapDump)
|
||||
{
|
||||
return (from li in rawMapDump.Data.Loot
|
||||
where (li.IsContainer ?? false) && (!LootDumpProcessorContext.GetStaticWeaponIds().Contains(li.Id))
|
||||
where (li.IsContainer ?? false) && (!LootDumpProcessorContext.GetStaticWeaponIds().Contains(li.Items[0].Tpl))
|
||||
select li).ToList();
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user