Some rework for statistics handling. Which drastically improved performance when checking players statistics for rankup system. Just to give some numbers, we had to perform some recalculations which could cause up to 20ms load and generic check could be at 0.5-1ms, even tho this was done only like every minute or so, this can quickly add up if you have more players with multiple possible rankups online whose statistics we have to check. Now we will not perform this recalculation, but we will take data directly and with some other extra optimizations, dropped load to 0.1-1ms. In addition to this forced rearrangement which statistics we should check first and prioritized simplest ones, like checking if player killed 5 zombies, while pushing statistics like total travel distance to the back of check which are more heavy one as it requires for us to get multiple distances and add them up. Which again, depending on situation lowered load down to 0.01 - 0.02ms.
Fixed issue when some of the blocks would not appear in statistics, like torch as crafted item.