Closed bell07 closed 4 years ago
I believe it's fixed now.
Tested the update with my Whynot Game, got the same error if I try to look into the cobblestone usages. In Minetest Game the issue does not appear...
2020-01-13 14:33:25: ERROR[Main]: ServerError: AsyncErr: ServerThread::run Lua: Runtime error from mod 'sfinv' in callback on_playerReceiveFields(): ....minetest/games/whynot-git/mods/libs/craftguide/init.lua:938: attempt to get length of field 'dat' (a nil value)
2020-01-13 14:33:25: ERROR[Main]: stack traceback:
2020-01-13 14:33:25: ERROR[Main]: ....minetest/games/whynot-git/mods/libs/craftguide/init.lua:938: in function 'get_panels'
2020-01-13 14:33:25: ERROR[Main]: ....minetest/games/whynot-git/mods/libs/craftguide/init.lua:1110: in function 'make_formspec'
2020-01-13 14:33:25: ERROR[Main]: ....minetest/games/whynot-git/mods/libs/craftguide/init.lua:1641: in function 'get_formspec'
2020-01-13 14:33:25: ERROR[Main]: ...netest/games/whynot-git/mods/minetest_game/sfinv/api.lua:125: in function 'set_player_inventory_formspec'
2020-01-13 14:33:25: ERROR[Main]: ....minetest/games/whynot-git/mods/libs/craftguide/init.lua:1119: in function 'show_fs'
2020-01-13 14:33:25: ERROR[Main]: ....minetest/games/whynot-git/mods/libs/craftguide/init.lua:1625: in function 'fields'
2020-01-13 14:33:25: ERROR[Main]: ....minetest/games/whynot-git/mods/libs/craftguide/init.lua:1657: in function <....minetest/games/whynot-git/mods/libs/craftguide/init.lua:1656>
2020-01-13 14:33:25: ERROR[Main]: /usr/share/minetest/builtin/game/register.lua:429: in function </usr/share/minetest/builtin/game/register.lua:413>
Since last changes the inventory size does not match the sfinv size.![grafik](https://user-images.githubusercontent.com/4731334/71955654-34ba7f80-31e9-11ea-959c-db5ee37e8f70.png)
The german translation for ""Usage" = "Verwendung" looks strange.
Looking to the Brake Rail usages results in crash
Tested with minetest-5.1.0 and minetest_game from contentdb