Fix overflow of X and Y under heavy slab

This commit is contained in:
Belleve Invis 2020-05-23 01:46:10 -07:00
parent 6382a02ca2
commit 68f4cfac6d
11 changed files with 59 additions and 47 deletions

View file

@ -8,6 +8,7 @@ module.exports = function (aspect, hive, params, sink) {
const block = hive.blend;
let keys = new Set();
for (const grade in block) {
sink[grade] = block[grade];
if (!isFinite(parseFloat(grade))) continue;
for (const key in block[grade]) {
if (block[grade][key] == null) continue;