Update api.lua

This commit is contained in:
José Douglas da Silva Souza 2023-12-23 22:28:54 -03:00 committed by GitHub
parent 03f1e467ac
commit 92fe7dc5bb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -4,7 +4,7 @@ fireflies = {}
-- If necessary, add other functions related to fireflies here
--------------------------------------------------------------
-- Global function to record the decoration of fireflies.
-- Global function to record the decoration of fireflies.
-- Perhaps other parameters can be added to improve decoration registration control.
function fireflies.register_decoration(biomes, place_on)
local mg_name = minetest.get_mapgen_setting("mg_name")
@ -47,7 +47,7 @@ function fireflies.register_decoration(biomes, place_on)
y_min = -1,
decoration = "fireflies:hidden_firefly",
})
minetest.register_decoration({
name = "fireflies:firefly_high",
deco_type = "simple",