Fix biome names being stored as numbers sometimes
This commit is contained in:
parent
ec7a07da11
commit
c1c8969ed9
@ -258,7 +258,7 @@ function getBiomeByID(id) {
|
|||||||
|
|
||||||
// Returns a new biome name for displaying
|
// Returns a new biome name for displaying
|
||||||
function generateBiomeName(id) {
|
function generateBiomeName(id) {
|
||||||
return +id;
|
return String(id);
|
||||||
}
|
}
|
||||||
|
|
||||||
// Converts a biome point to a point object to be passed to the Voronoi API
|
// Converts a biome point to a point object to be passed to the Voronoi API
|
||||||
|
Loading…
x
Reference in New Issue
Block a user