From dfc87332615625081cc41e0d49c0af0e263606f8 Mon Sep 17 00:00:00 2001 From: teknomunk Date: Wed, 1 Jan 2025 21:46:39 -0600 Subject: [PATCH 1/3] Change the default logging setting in mob movement from true to false --- mods/ENTITIES/mcl_mobs/movement.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mods/ENTITIES/mcl_mobs/movement.lua b/mods/ENTITIES/mcl_mobs/movement.lua index c62602d3b..9e3cdd5f6 100644 --- a/mods/ENTITIES/mcl_mobs/movement.lua +++ b/mods/ENTITIES/mcl_mobs/movement.lua @@ -11,7 +11,7 @@ local PATHFINDING = "gowp" local node_snow = "mcl_core:snow" local mobs_griefing = minetest.settings:get_bool("mobs_griefing") ~= false -local logging = minetest.settings:get_bool("mcl_logging_mobs_movement", true) +local logging = minetest.settings:get_bool("mcl_logging_mobs_movement", false) local random = math.random local sin = math.sin From dea5127b4036f276287c96913b16f5a7235dc9b7 Mon Sep 17 00:00:00 2001 From: teknomunk Date: Thu, 2 Jan 2025 06:34:46 -0600 Subject: [PATCH 2/3] Add mob movement debugging to settingtypes.txt --- settingtypes.txt | 3 +++ 1 file changed, 3 insertions(+) diff --git a/settingtypes.txt b/settingtypes.txt index ec829b783..dd5adf835 100644 --- a/settingtypes.txt +++ b/settingtypes.txt @@ -351,3 +351,6 @@ mcl_logging_mcl_signs (Complete debug logging for mcl_signs) bool false #Debug logging for mcl_events. mcl_logging_event_api (Debug logging for mcl_events) bool false + +#Log mob movement events +mcl_logging_mobs_movement (Log Mob Movement) bool false From cc2d575894b63560d5610d438f06afd67c8ece00 Mon Sep 17 00:00:00 2001 From: teknomunk Date: Fri, 3 Jan 2025 06:42:12 -0600 Subject: [PATCH 3/3] Move setting next to mcl_logging_mobs_spawn --- settingtypes.txt | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/settingtypes.txt b/settingtypes.txt index dd5adf835..443d29440 100644 --- a/settingtypes.txt +++ b/settingtypes.txt @@ -340,6 +340,9 @@ mcl_item_id_debug (Item ID Debug) bool false #Log mob spawning and despawning events mcl_logging_mobs_spawn (Log Mob Spawning) bool false +#Log mob movement events +mcl_logging_mobs_movement (Log Mob Movement) bool false + # If enabled mapgen timings will be dumped to log mcl_logging_mapgen (Chunk generation logging) bool false @@ -351,6 +354,3 @@ mcl_logging_mcl_signs (Complete debug logging for mcl_signs) bool false #Debug logging for mcl_events. mcl_logging_event_api (Debug logging for mcl_events) bool false - -#Log mob movement events -mcl_logging_mobs_movement (Log Mob Movement) bool false