diff --git a/mods/ENTITIES/mcl_item_entity/init.lua b/mods/ENTITIES/mcl_item_entity/init.lua index ac631ca0cf..823d58dd3d 100644 --- a/mods/ENTITIES/mcl_item_entity/init.lua +++ b/mods/ENTITIES/mcl_item_entity/init.lua @@ -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 diff --git a/mods/PLAYER/mcl_death/init.lua b/mods/PLAYER/mcl_death/init.lua index edc97a2be5..d4f3a94615 100644 --- a/mods/PLAYER/mcl_death/init.lua +++ b/mods/PLAYER/mcl_death/init.lua @@ -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() diff --git a/settingtypes.txt b/settingtypes.txt index 4118b2ad84..6cd53db5b2 100644 --- a/settingtypes.txt +++ b/settingtypes.txt @@ -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.