Closed Caviarbro closed 1 year ago
Couple of things, if a passive fails to be added. I would just let the user keep the weapon without a passive. Better luck next time! (obviously a feature not a bug).
And I did briefly look into this and its not the query that fails... I have logs of all mysql queries and none of the passive queries have failed. Not too sure what makes the no passive issues occur... but unfortunately this PR won't fix the issue :(
Couple of things, if a passive fails to be added. I would just let the user keep the weapon without a passive. Better luck next time! (obviously a feature not a bug).
And I did briefly look into this and its not the query that fails... I have logs of all mysql queries and none of the passive queries have failed. Not too sure what makes the no passive issues occur... but unfortunately this PR won't fix the issue :(
I have some news on this! I have managed to reproduce it on my self hosted bot - this happens when the weapon (uwid
) exists in the user_weapon
dataset but doesn't exist in user_weapon_passives
dataset.
Fixed an edge case when a weapon would generate without passive.
Changes made by: @Togira123