Simplify player modification checks
Only set player dirty flag if values change
Make players check inventory modification properly