Archtec-io / bugtracker

0 stars 0 forks source link

Runtime error from mod 'signs_api' in callback item_OnPlace(): "Unknown node: streets:sign_triangle_t_polemount_polemount" #158

Closed Niklp09 closed 9 months ago

Niklp09 commented 9 months ago
2024-02-09 18:27:02: ERROR[Main]: ServerError: AsyncErr: Lua: Runtime error from mod 'signs_api' in callback item_OnPlace(): "Unknown node: streets:sign_triangle_t_polemount_polemount"
2024-02-09 18:27:02: ERROR[Main]: stack traceback:
2024-02-09 18:27:02: ERROR[Main]:   [C]: in function '__index'
2024-02-09 18:27:02: ERROR[Main]:   ...minetest/minetest-5.8.0/bin/../builtin/common/item_s.lua:229: in function <...minetest/minetest-5.8.0/bin/../builtin/common/item_s.lua:228>
2024-02-09 18:27:02: ERROR[Main]:   [C]: in function 'set_node'
2024-02-09 18:27:02: ERROR[Main]:   ...ik/minetest/minetest-5.8.0/bin/../mods/streets/signs.lua:706: in function 'after_place_node'
2024-02-09 18:27:02: ERROR[Main]:   ...nik/minetest/minetest-5.8.0/bin/../builtin/game/item.lua:272: in function 'on_place'
2024-02-09 18:27:02: ERROR[Main]:   ...est-5.8.0/bin/../mods/replacer/replacer/api/replacer.lua:138: in function <...est-5.8.0/bin/../mods/replacer/replacer/api/replacer.lua:64>

Lonny tried to replace a street sign, can't reproduce (yet).

Niklp09 commented 9 months ago

Repro:

  1. Be in creative
  2. Shift+rightclick a sign which is placed next to a pole with the replacer
  3. Replace any other other node - crash
Niklp09 commented 9 months ago

Fixed in https://github.com/Thomas--S/streets/commit/f881c85da9150c0cc1e31dd260a6e98297e86ea1 (thanks @Thomas-S)