Using protection rune on NPC leads to crash #25

Open
opened 2024-04-30 17:48:07 +00:00 by AliasAlreadyTaken · 0 comments

Regardless the level of the mobs protection rune, using it on an NPC leads to a crash. See your-land/bugtracker#6618

2024-04-30 19:01:04: ERROR[Main]: ServerError: AsyncErr: Lua: Runtime error from mod 'yl_npc' in callback luaentity_run_simple_callback(): ....9.0/minetest-dev/bin/../builtin/common/misc_helpers.lua:418: attempt to index local 'pos' (a nil value)
2024-04-30 19:01:04: ERROR[Main]: stack traceback:
2024-04-30 19:01:04: ERROR[Main]: 	....9.0/minetest-dev/bin/../builtin/common/misc_helpers.lua:418: in function 'pos_to_string'
2024-04-30 19:01:04: ERROR[Main]: 	...etest-dev/bin/../mods/yl_speak_up/interface_mobs_api.lua:58: in function 'func'
2024-04-30 19:01:04: ERROR[Main]: 	...minetest-dev/bin/../builtin/profiler/instrumentation.lua:124: in function <...minetest-dev/bin/../builtin/profiler/instrumentation.lua:117>
Regardless the level of the mobs protection rune, using it on an NPC leads to a crash. See your-land/bugtracker#6618 ``` 2024-04-30 19:01:04: ERROR[Main]: ServerError: AsyncErr: Lua: Runtime error from mod 'yl_npc' in callback luaentity_run_simple_callback(): ....9.0/minetest-dev/bin/../builtin/common/misc_helpers.lua:418: attempt to index local 'pos' (a nil value) 2024-04-30 19:01:04: ERROR[Main]: stack traceback: 2024-04-30 19:01:04: ERROR[Main]: ....9.0/minetest-dev/bin/../builtin/common/misc_helpers.lua:418: in function 'pos_to_string' 2024-04-30 19:01:04: ERROR[Main]: ...etest-dev/bin/../mods/yl_speak_up/interface_mobs_api.lua:58: in function 'func' 2024-04-30 19:01:04: ERROR[Main]: ...minetest-dev/bin/../builtin/profiler/instrumentation.lua:124: in function <...minetest-dev/bin/../builtin/profiler/instrumentation.lua:117> ```
Sign in to join this conversation.
No Label
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: Sokomine/yl_speak_up#25
No description provided.