The BlockType was designed to be of value -1 in case of error like when a client is requesting a block outside of the map's scope/dimension. This has other negative side effects and was never used as error handling at all. Thus the value -1 should never be returned anymore now and all BlockTypes should be uint8_t everywhere.
The BlockType was designed to be of value
-1
in case of error like when a client is requesting a block outside of the map's scope/dimension. This has other negative side effects and was never used as error handling at all. Thus the value-1
should never be returned anymore now and all BlockTypes should beuint8_t
everywhere.