[Mod] Pencil [pencil]

Post Reply
Emojiminetest
Member
Posts: 22
Joined: Sat Jun 06, 2020 00:21
GitHub: Emojigit
IRC: Cato Yiu
In-game: Cato

[Mod] Pencil [pencil]

by Emojiminetest » Post

I made a mod pencil that can change the infotext in a node's meta tag.

Link: https://github.com/Emojigit/minetest-pencil
License: MIT
License (Media): Multi

Emojiminetest
Member
Posts: 22
Joined: Sat Jun 06, 2020 00:21
GitHub: Emojigit
IRC: Cato Yiu
In-game: Cato

Re: [Mod] Pencil [pencil]

by Emojiminetest » Post

My mod's 2.0-dev have an error. What wrong with my code?
Link = https://github.com/Emojigit/minetest-pe ... l/init.lua

Error =

Code: Select all

2020-07-16 15:28:21: ERROR[Main]: ServerError: AsyncErr: ServerThread::run Lua: Runtime error from mod 'pencil' in callback on_joinplayer(): /usr/share/minetest/builtin/game/register.lua:63: attempt to concatenate a nil value
2020-07-16 15:28:21: ERROR[Main]: stack traceback:
2020-07-16 15:28:21: ERROR[Main]:     /usr/share/minetest/builtin/game/register.lua:63: in function 'check_modname_prefix'
2020-07-16 15:28:21: ERROR[Main]:     /usr/share/minetest/builtin/game/register.lua:115: in function 'register_item'
2020-07-16 15:28:21: ERROR[Main]:     /usr/share/minetest/builtin/game/register.lua:220: in function 'really_register_craftitem'
2020-07-16 15:28:21: ERROR[Main]:     /home/minetest/.minetest/mods/technic_worldgen/crafts.lua:151: in function 'register_craftitem'
2020-07-16 15:28:21: ERROR[Main]:     .../minetest/.minetest/mods/minetest-pencil/pencil/init.lua:25: in function 'register_pencil'
2020-07-16 15:28:21: ERROR[Main]:     .../minetest/.minetest/mods/minetest-pencil/pencil/init.lua:87: in function <.../minetest/.minetest/mods/minetest-pencil/pencil/init.lua:85>
2020-07-16 15:28:21: ERROR[Main]:     /usr/share/minetest/builtin/game/register.lua:429: in function </usr/share/minetest/builtin/game/register.lua:413>

Post Reply

Who is online

Users browsing this forum: Google [Bot] and 3 guests