Whe lighting a nether portal: Invalid position coordinate 'y' (expected number got nil). #638
Labels
No Label
1. kind/balancing
1. kind/breaking
1. kind/bug
1. kind/construction
1. kind/documentation
1. kind/enhancement
1. kind/griefing
1. kind/invalid
1. kind/meme
1. kind/node limit
1. kind/other
1. kind/protocol
2. prio/controversial
2. prio/critical
2. prio/elevated
2. prio/good first issue
2. prio/interesting
2. prio/low
3. source/art
3. source/client
3. source/engine
3. source/ingame
3. source/integration
3. source/lag
3. source/license
3. source/mod upstream
3. source/unknown
3. source/website
4. step/approved
4. step/at work
4. step/blocked
4. step/discussion
4. step/help wanted
4. step/needs confirmation
4. step/partially fixed
4. step/question
4. step/ready to deploy
4. step/ready to QA test
4. step/want approval
5. result/cannot reproduce
5. result/duplicate
5. result/fixed
5. result/maybe
5. result/wontfix
ugh/petz
ugh/QA main
ugh/QA NOK
ugh/QA OK
No Milestone
No project
No Assignees
2 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: your-land/bugtracker#638
Loading…
Reference in New Issue
No description provided.
Delete Branch "%!s(<nil>)"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
2021-06-09 22:53:37: ERROR[Main]: ServerError: AsyncErr: ServerThread::run Lua: Runtime error from mod 'default' in callback item_OnPlace(): Invalid position coordinate 'y' (expected number got nil).
2021-06-09 22:53:37: ERROR[Main]: stack traceback:
2021-06-09 22:53:37: ERROR[Main]: [C]: in function 'get_areas_for_pos'
2021-06-09 22:53:37: ERROR[Main]: /home/mtlive1/.minetest/mods/areas/api.lua:37: in function 'getAreasAtPos'
2021-06-09 22:53:37: ERROR[Main]: /home/mtlive1/.minetest/mods/xp_redo/areas.lua:8: in function 'is_protected'
2021-06-09 22:53:37: ERROR[Main]: /home/mtlive1/.minetest/mods/yl_nether/mapgen.lua:113: in function 'find_surface_anchorPos'
2021-06-09 22:53:37: ERROR[Main]: /home/mtlive1/.minetest/mods/nether/portal_api.lua:1365: in function 'ignite_portal'
2021-06-09 22:53:37: ERROR[Main]: /home/mtlive1/.minetest/mods/nether/portal_api.lua:2174: in function </home/mtlive1/.minetest/mods/nether/portal_api.lua:2171>
Just adding check for y == nil and returning nil to caller should fix this.
I added your fix in 4a88bccf333ff8d14193a17047b62503a30645ae
Now we need to reproduce it on the testserver to see if it's really fixed. Do you know how to 100% repro it?
Trying to reproduce, now I get a message about about mysterious force, that I've never seen before. Fix seems to work.