Solved issue related to block's rotations

The conditional that holds all directions had the wrong data writed
inside the dir object