mirror of
https://github.com/JannisX11/blockbench.git
synced 2025-04-06 17:31:09 +08:00
Fix rounding errors being imported into molang fields
This commit is contained in:
parent
f1d3243f0f
commit
89bea015b1
@ -412,7 +412,7 @@ var Merge = {
|
||||
if (typeof source[index] == 'string') {
|
||||
obj[index] = source[index];
|
||||
} else if (typeof source[index] == 'number') {
|
||||
obj[index] = source[index].toString();
|
||||
obj[index] = Math.roundTo(source[index], 9).toString();
|
||||
}
|
||||
},
|
||||
boolean(obj, source, index, validate) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user