From 4b9cd097e6b287b155f36845d98fb979c44d3b74 Mon Sep 17 00:00:00 2001 From: Wuzzy Date: Fri, 25 Oct 2024 11:54:44 +0200 Subject: [PATCH] Use "core" instead of "minetest" function in doc --- libpov.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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`;