After seeing that the question had a 150-reputation points bounty, I put a little effort in the question and extended his code. After one question from the questioner in the comment and my answer, the answer got accepted and his original problem was solved.
After that, the question was edited and in the comment he asked "Now I have that problem. What should I do now?". After helping out a few times, I recommended trying first...After that he thanked me and unaccepted the answer and opened up a new question using my code (which is deleted now, but it showed me he is using that code).
That is the question I am talking about: Make inventory that receives purchased items from the shop system
Am I right feeling "baited" into the question through the bounty or is that a valid thing to do?
As of ~5 or 6 PM UTC (hours after I asked this Meta Q), the answer has been re-accepted by the OP.