Use "core" instead of "minetest" function in doc
This commit is contained in:
parent
ec260d66d9
commit
4b9cd097e6
@ -2189,7 +2189,7 @@ inputExportLua.onclick = function() {
|
||||
// escape quotation mark
|
||||
escapedName = escapedName.replace(/"/g, '\\\"');
|
||||
|
||||
str += "minetest.register_biome({\n";
|
||||
str += "core.register_biome({\n";
|
||||
str += ` name = \"${escapedName}\",\n`;
|
||||
str += ` heat_point = ${biome.heat},\n`;
|
||||
str += ` humidity_point = ${biome.humidity},\n`;
|
||||
|
Loading…
x
Reference in New Issue
Block a user