mod creative - fix check for newer lang on engine

master
mckaygerhard 2024-04-28 08:58:50 -04:00
parent 8a7aed8dc1
commit 91b64d2996
1 changed files with 2 additions and 2 deletions

View File

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