fixed bug with breaking blocks with no inventory