diff --git a/libpov.js b/libpov.js index f1e9d0f..07ec541 100644 --- a/libpov.js +++ b/libpov.js @@ -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`;