Panquesito7 / minetest-instant_sapling_growth

A mod for Minetest that immediately places a sapling when placed. 🌳
https://content.minetest.net/packages/Panquesito7/instant_sapling_growth/
GNU General Public License v3.0
2 stars 0 forks source link

Game Crashes[BUG] #4

Closed KarlKnopf closed 9 months ago

KarlKnopf commented 10 months ago

Description of the bug

Whenever I plant a sapling the game crashes. Here is the log. AsyncErr: Lua: Runtime error from mod '' in callback item_OnPlace(): ...-5.8.0-win64\bin..\mods\instant_sapling_growth\init.lua:235: attempt to call upvalue 'old_after_place_node' (a nil value) stack traceback: ...-5.8.0-win64\bin..\mods\instant_sapling_growth\init.lua:235: in function 'after_place_node' ...-win64\bin..\games\minetest_game\mods\default/trees.lua:510: in function 'sapling_on_place' ...-win64\bin..\games\minetest_game\mods\default/nodes.lua:1011: in function <...-win64\bin..\games\minetest_game\mods\default/nodes.lua:1010>

Please add screenshots (if applicable)

No response

Add any other context about the problem here

No response

Code of Conduct

Panquesito7 commented 9 months ago

Hey there! The issue should be fixed on the latest commit. Could you please give it a try? Thanks. 🙂

KarlKnopf commented 9 months ago

Thank you!