API
API copied to clipboard
Quikflare(pro)'s appearing in weapons endpoint
All the different models of quickflare are being returned in the list of weapons from the /weapons endpoint.
That is somewhat "correct".
The /weapons endpoint filters items on type=WeaponPersonal, which all QuikFlares are placed into.
That's why the Multi-Tool and ParaMed can also be found there.
I can alternatively add further filters on the sub_type:
- Knife
- Large (Scourge Railgun etc.)
- Medium (FS-9 LMG etc.)
- Small (Pistols)
- Grenade (MK-4 and some QuikFlares)
- Gadget (Multi-Tool and some QuikFlares)
Or if only the QuikFlares should be filtered out, I could do that using their class name
Feel free to re-open for further discussion :)