forked from mtcontrib/biome_lib
Add luacheck and github workflow (#4)
Co-authored-by: BuckarooBanzay <BuckarooBanzay@users.noreply.github.com> Co-authored-by: OgelGames <olliverdc28@gmail.com>
This commit is contained in:
@ -81,7 +81,7 @@ function biome_lib.can_use_decorations(b, nodes_or_function_or_treedef)
|
||||
["y_min"] = biome.min_elevation,
|
||||
["y_max"] = biome.max_elevation,
|
||||
["spawn_by"] = biome.near_nodes,
|
||||
["num_spawn_by"] = biome.near_nodes and biome.near_nodes_count,
|
||||
["num_spawn_by"] = biome.near_nodes and biome.near_nodes_count,
|
||||
}
|
||||
|
||||
local r = (100-biome.rarity)/100
|
||||
|
Reference in New Issue
Block a user