Get the block from the world instead of the lower 8 bits only.
Removed code that will not be used (thanks @MattBDev).