plantlife_modpack/flowers_plus/init.lua:171 Invalid position (expected table got nil). #299

Closed
opened 2021-03-01 00:15:14 +00:00 by AliasAlreadyTaken · 4 comments

Missing nil check.

2021-02-28 23:41:24: ERROR[Main]: ServerError: AsyncErr: ServerThread::run Lua: Runtime error from mod 'flowers_plus' in callback item_OnPlace(): Invalid position (expected table got nil).
2021-02-28 23:41:24: ERROR[Main]: stack traceback:
2021-02-28 23:41:24: ERROR[Main]: 	[C]: in function 'get_areas_for_pos'
2021-02-28 23:41:24: ERROR[Main]: 	/home/mtlive1/.minetest/mods/areas/api.lua:37: in function 'getAreasAtPos'
2021-02-28 23:41:24: ERROR[Main]: 	/home/mtlive1/.minetest/mods/xp_redo/areas.lua:8: in function 'f'
2021-02-28 23:41:24: ERROR[Main]: 	...tlive1/.minetest/mods/monitoring/metrictypes/counter.lua:42: in function 'is_protected'
2021-02-28 23:41:24: ERROR[Main]: 	...1/.minetest/mods/plantlife_modpack/flowers_plus/init.lua:194: in function <...1/.minetest/mods/plantlife_modpack/flowers_plus/init.lua:171>
Missing nil check. ``` 2021-02-28 23:41:24: ERROR[Main]: ServerError: AsyncErr: ServerThread::run Lua: Runtime error from mod 'flowers_plus' in callback item_OnPlace(): Invalid position (expected table got nil). 2021-02-28 23:41:24: ERROR[Main]: stack traceback: 2021-02-28 23:41:24: ERROR[Main]: [C]: in function 'get_areas_for_pos' 2021-02-28 23:41:24: ERROR[Main]: /home/mtlive1/.minetest/mods/areas/api.lua:37: in function 'getAreasAtPos' 2021-02-28 23:41:24: ERROR[Main]: /home/mtlive1/.minetest/mods/xp_redo/areas.lua:8: in function 'f' 2021-02-28 23:41:24: ERROR[Main]: ...tlive1/.minetest/mods/monitoring/metrictypes/counter.lua:42: in function 'is_protected' 2021-02-28 23:41:24: ERROR[Main]: ...1/.minetest/mods/plantlife_modpack/flowers_plus/init.lua:194: in function <...1/.minetest/mods/plantlife_modpack/flowers_plus/init.lua:171> ```
AliasAlreadyTaken added the
1. kind/bug
2. prio/critical
3. source/mod upstream
labels 2021-03-01 00:15:26 +00:00
Author
Owner

if place_pos and placer and not minetest.is_protected(place_pos, placer:get_player_name()) then

if place_pos and placer and not minetest.is_protected(place_pos, placer:get_player_name()) then
Author
Owner
https://gitlab.com/VanessaE/plantlife_modpack/-/issues/6
AliasAlreadyTaken was assigned by Styxcolor 2021-12-09 03:55:48 +00:00
Styxcolor added the
4. step/question
label 2021-12-09 03:55:52 +00:00
Owner

Is this fixed by now?

Is this fixed by now?
AliasAlreadyTaken added this to the (deleted) project 2021-12-17 14:38:24 +00:00
Author
Owner

It is fixed in our branch, but not upstream.

Also, they're pulling flowers plus apart in the latest versions, which is nice, because it means its stil being maintained.

here's the reopened upstream issue: https://github.com/mt-mods/plantlife_modpack/issues/10

It is fixed in our branch, but not upstream. Also, they're pulling flowers plus apart in the latest versions, which is nice, because it means its stil being maintained. here's the reopened upstream issue: https://github.com/mt-mods/plantlife_modpack/issues/10
AliasAlreadyTaken added
5. result/fixed
and removed
4. step/question
labels 2021-12-17 15:58:25 +00:00
AliasAlreadyTaken removed this from the (deleted) project 2022-01-06 08:00:36 +00:00
Sign in to join this conversation.
No Milestone
No project
No Assignees
2 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: your-land/bugtracker#299
No description provided.