fluxionary / minetest-replacer_redo

yet another replacer variant
Other
3 stars 0 forks source link

misc_helpers.lua:411: attempt to index local 'pos' (a nil value) #3

Closed Bastrabun closed 2 years ago

Bastrabun commented 2 years ago

replacer version 1652436000

I can't reliably reproduce it. I took moreblock:iron_stone_bricks into the replacer with shift+rightclick, then either right- or leftclicked a slab or sign. Sometimes it works. When I blink it does not :D

Maybe the same as #2 , maybe not.

2022-05-14 10:03:22: ACTION[Server]: [replacer] AliasAlreadyTaken (creative) replaced yl_livemapping:egypt_blank:3 with default:stone:0 @ (2003,15,1154)
2022-05-14 10:03:25: ACTION[Main]: Server: Shutting down
2022-05-14 10:03:28: ERROR[Main]: ServerError: AsyncErr: Lua: Runtime error from mod '' in callback item_OnPlace(): ...5.1/Minetest_test/bin/../builtin/common/misc_helpers.lua:411: attempt to index local 'pos' (a nil value)
2022-05-14 10:03:28: ERROR[Main]: stack traceback:
2022-05-14 10:03:28: ERROR[Main]:   ...5.1/Minetest_test/bin/../builtin/common/misc_helpers.lua:411: in function 'pos_to_string'
2022-05-14 10:03:28: ERROR[Main]:   ...netest_test/worldmods/minetest-replacer/api/replacer.lua:112: in function <...netest_test/worldmods/minetest-replacer/api/replacer.lua:78>
fluxionary commented 2 years ago

This is the same crash as #2. I did manage to create another similar crash, but this isn't the right stacktrace. The other crash has already been fixed too.