From b195c92466d567bb944a3daed4721664c92f5e14 Mon Sep 17 00:00:00 2001 From: Pao Date: Sun, 26 Feb 2023 22:16:45 +0100 Subject: [PATCH] Modified Mod.info and debug prints --- media/lua/shared/NPCs/ExtraBodyLocations.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/media/lua/shared/NPCs/ExtraBodyLocations.lua b/media/lua/shared/NPCs/ExtraBodyLocations.lua index 78beefb..41a8dd5 100644 --- a/media/lua/shared/NPCs/ExtraBodyLocations.lua +++ b/media/lua/shared/NPCs/ExtraBodyLocations.lua @@ -3,7 +3,7 @@ local function AddBodyLocationBefore(new_location, move_to_location) local list = getClassFieldVal(group, getClassField(group, 1)) group:getOrCreateLocation(new_location) local new_item = list:get(list:size()-1) - print("TOC: Created new body location" .. new_item:getId()) + print("JCIO: Created new body location" .. new_item:getId()) list:remove(new_item) -- We can't use the Index, it works if we pass the item though! local i = group:indexOf(move_to_location) list:add(i, new_item)