Closed Heath123 closed 4 years ago
You said in #93 that you can register 512 blocks, but here: https://github.com/andyhall/noa/blob/65e6c88ad64c05055190ba42255e2b530455f221/src/lib/registry.js#L35 it's limited to 255. Is there a reason for that or is it an oversight? Thank you
Ah, nice catch! That line is wrong, the logic that stores voxel data uses nine bits for the voxel ID. I'll fix this next release.
Thank you!
Should be fixed in #develop, so #master will be fixed in next update.
You said in #93 that you can register 512 blocks, but here: https://github.com/andyhall/noa/blob/65e6c88ad64c05055190ba42255e2b530455f221/src/lib/registry.js#L35 it's limited to 255. Is there a reason for that or is it an oversight? Thank you