From 91b64d29966ea390f6963399d5c5649871d068dc Mon Sep 17 00:00:00 2001 From: mckaygerhard Date: Sun, 28 Apr 2024 08:58:50 -0400 Subject: [PATCH] mod creative - fix check for newer lang on engine --- mods/creative/init.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/mods/creative/init.lua b/mods/creative/init.lua index bff0eba..578c16f 100644 --- a/mods/creative/init.lua +++ b/mods/creative/init.lua @@ -49,7 +49,7 @@ local function update_sfinv(name) end) end -if is_50 then +if creative.is_50 then privs_definition = { description = privs_description, give_to_singleplayer = false, @@ -186,7 +186,7 @@ function creative.update_creative_inventory(player_name, tab_content) local lang = minetest.settings:get("language") or "en" local player_info = minetest.get_player_information(player_name) - if is_53 then + if creative.is_53 then if player_info and player_info.lang_code ~= "" then lang = player_info.lang_code end