Restrict block break while inventory is open