Fix for not finding liquid container

Fixes #2525. (Coming back from j2ee to cpp world is quite painful...)

I wasn't sure should I place it before the check if there's container for storing soon to be crafted water. But finally decided to call inventory restacking, just in case, after every completed craft.