Gao Yang knew he was being greedy. He wasn't greedy in areas where others might be, like money. But at times when others could remain calm, he couldn't resist; for someone who loved WWII guns, that room full of them was simply impossible to give up.
People need to lose something to grow, Gao Yang understood this principle, and he also understood that he was being greedy, yet he just couldn't control himself.
Right now, Gao Yang really hoped that his momentary greed wouldn't lead to any serious consequences. All he could do was pray. But even so, he couldn't bear to leave. If he hadn't called Shava to move house at that time, he would have already left by now. However, once Shava was called in, leaving was no longer possible. This was a case of one wrong step leading to another. Of course, it couldn't be said to be wrong at the moment, but it certainly strengthened Gao Yang's greed step by step.