Use "core" instead of "minetest" function in doc

This commit is contained in:
Wuzzy 2024-10-25 11:54:44 +02:00
parent ec260d66d9
commit 4b9cd097e6

View File

@ -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`;