minetest-LOTR / Lord-of-the-Test

LOTR-inspired Subgame for Minetest. Rewrite: https://github.com/minetest-LOTR/Third-Age
Other
67 stars 31 forks source link

Misty Mountains Grass Doesn't Grow #149

Closed kbpickens closed 4 years ago

kbpickens commented 4 years ago

Bare dirt in the Misty Mountains Biome causes an error when growing grass.

2020-01-15 21:52:13: ERROR[Main]: ServerError: AsyncErr: ServerThread::run Lua: Runtime error from mod 'lottfunctions' in callback LuaABM::trigger(): 
"lottitems:misty_mountains_grass" is not a registered node!
2020-01-15 21:52:13: ERROR[Main]: stack traceback:
2020-01-15 21:52:13: ERROR[Main]:       [C]: in function 'set_node'
2020-01-15 21:52:13: ERROR[Main]:       ...es/Lord-of-the-Test/mods/lottfunctions/dirt_to_grass.lua:20: in function <...es/Lord-of-the-Test/mods/lottfunctions/dirt_to_grass.lua:8>

The node for existing grass in the Misty Mountains Biome is lottitems:base_grass.

Fixed locally by adding: minetest.register_alias("lottitems:misty_mountains_grass","lottitems:base_grass") to Lord-of-the-Test/mods/lottfunctions/dirt_to_grass.lua