Closed ghost closed 8 months ago
...or if the caller is invalid (which should never happen)
Yes, I know other commands suffer from the error but I don't see anyone editing navmeshes from a developer console. BotMod is the only reasonable command to set from it.
Fixes this error:
[d3bot] addons/d3bot/lua/ulx/modules/sh/d3bot.lua:134: attempt to call method 'ChatPrint' (a nil value) 1. call - addons/d3bot/lua/ulx/modules/sh/d3bot.lua:134 2. __fn - addons/ulib/lua/ulib/shared/commands.lua:951 3. execute - addons/ulib/lua/ulib/shared/commands.lua:1331 4. unknown - addons/ulib/lua/ulib/shared/commands.lua:1358 5. unknown - lua/includes/modules/concommand.lua:54```
Looks alright, thanks for the commit.
...or if the caller is invalid (which should never happen)
Yes, I know other commands suffer from the error but I don't see anyone editing navmeshes from a developer console. BotMod is the only reasonable command to set from it.
Fixes this error: