1
0
Fork 0

Fix fire_enabled warning

mineclone5
Elias Fleckenstein 2021-04-13 08:50:50 +02:00
parent fe5a8737b8
commit 9ce4cd1281
1 changed files with 7 additions and 5 deletions

View File

@ -4,6 +4,8 @@ local LIGHT_TORCH = 10
stairs = {} stairs = {}
local fire_enabled = minetest.settings:get_bool("enable_fire", true)
local fire_help, eternal_fire_help local fire_help, eternal_fire_help
if fire_enabled then if fire_enabled then
fire_help = S("Fire is a damaging and destructive but short-lived kind of block. It will destroy and spread towards near flammable blocks, but fire will disappear when there is nothing to burn left. It will be extinguished by nearby water and rain. Fire can be destroyed safely by punching it, but it is hurtful if you stand directly in it. If a fire is started above netherrack or a magma block, it will immediately turn into an eternal fire.") fire_help = S("Fire is a damaging and destructive but short-lived kind of block. It will destroy and spread towards near flammable blocks, but fire will disappear when there is nothing to burn left. It will be extinguished by nearby water and rain. Fire can be destroyed safely by punching it, but it is hurtful if you stand directly in it. If a fire is started above netherrack or a magma block, it will immediately turn into an eternal fire.")