BlockID::GetOffset Fix

Fixed a bug which was causing the GetOffset method of the BlockID class to return incorrect offsets for certain values.