Arsenal - Fix Bad Vehicle Type error for backpack#11388
Conversation
Co-authored-by: Drofseh <Drofseh@users.noreply.github.com>
johnb432
left a comment
There was a problem hiding this comment.
I'm a bit confused. When is this a problem? If there's a backpack that doesn't exist, then it shouldn't even appear in the arsenal - if it does, we might be able to address it at the root.
|
the I think that might be the root problem, otherwise I'm not sure how bad backpacks are getting into the list data |
If it's only that, we can easily address there. |
|
some private mods use event handlers on list of backpacks after loading list in arsenal ( appending ID to classname for some reason ), so each time they refresh list, there is an error that classname does not exist ( mainly because of setUnitLoadout internal restrictions). Error is omited on every other classname, but backpacks are special, they are type of Vehicle |
This is, in my opinion, not a good reason to add it. Invalid items shouldn't be added to the arsenal to begin with. This should be fixed by the offending mod makers, especially if they are manually adding invalid items. |
I agree with this statement, but it is not a main reason, but one of many. Private mods are used, yet they are abandoned and no source code provided for handover. Meaning no other way to address issue other than adding NON-breaking functionality to ACE arsenal. |
When merged this pull request will: