I tried spraypainting the mosin in black spray paint whilst it was in my hands.
It successfully sprayed the mosin but immediately crashed my game and changed the resolution settings on my machine.
I managed to log back into the game and the mosin was fine and was painted black.
My friend managed to then "add green paint" to the mosin whilst it was on the floor with no issue.
The black spray can was at 75% capacity at the time.