Rename setting name

This commit is contained in:
Wuzzy 2017-06-09 14:11:16 +02:00
parent 5d5743939f
commit b2b196bccd
3 changed files with 6 additions and 6 deletions

View File

@ -139,7 +139,7 @@ minetest.register_globalstep(function(dtime)
end)
function minetest.handle_node_drops(pos, drops, digger)
if minetest.setting_getbool("creative_mode") or minetest.setting_getbool("mcl_do_tile_drops") == false then
if minetest.setting_getbool("creative_mode") or minetest.setting_getbool("mcl_doTileDrops") == false then
return
end
for _,item in ipairs(drops) do

View File

@ -1,5 +1,5 @@
minetest.register_on_dieplayer(function(player)
local keep = minetest.setting_getbool("mcl_keep_inventory_on_death")
local keep = minetest.setting_getbool("mcl_keepInventory")
if keep == false then
local inv = player:get_inventory()
local pos = player:getpos()
@ -20,7 +20,7 @@ minetest.register_on_dieplayer(function(player)
end
-- Death message
local message = minetest.setting_getbool("mcl_show_death_messages")
local message = minetest.setting_getbool("mcl_showDeathMessages")
if message == nil then message = true end
if message then
local name = player:get_player_name()

View File

@ -19,14 +19,14 @@ flame_sound (Flame sound) bool true
# If enabled, breaking blocks will cause them to drop as item.
# Note that blocks never have drops when in Creative Mode.
mcl_do_tile_drops (Blocks have drops) bool true
mcl_doTileDrops (Blocks have drops) bool true
# Normally, players drop all their items when they die. Enable this
# setting, so players always keep their inventory on death.
mcl_keep_inventory_on_death (Keep inventory on death) bool false
mcl_keepInventory (Keep inventory on death) bool false
# If enabled, chat messages are shown to everyone when a player dies.
mcl_show_death_messages (Show death messages) bool true
mcl_showDeathMessages (Show death messages) bool true
# If enabled, only peaceful mobs will appear naturally. This does not
# affect monster spawners.