1
0
zrcadlo https://github.com/luanti-org/luanti.git synchronizováno 2025-12-12 18:25:26 +01:00

Add minetest.is_creative_enabled

Tento commit je obsažen v:
Wuzzy
2020-05-26 02:11:19 +02:00
odevzdal sfan5
rodič 9a64a9fd94
revize 65a6a316d0
5 změnil soubory, kde provedl 17 přidání a 10 odebrání

Zobrazit soubor

@@ -66,7 +66,7 @@ if s_infplace == "true" then
elseif s_infplace == "false" then
infplace = false
else
infplace = minetest.settings:get_bool("creative_mode", false)
infplace = minetest.is_creative_enabled("")
end
minetest.register_chatcommand("infplace", {