Closed hkzorman closed 7 years ago
Basically, Jumper library's structure uses require() function which is blocked by Minetest when mod security is enabled.
require()
An alternative would be to replace Jumper library with a simple A* star implementation that can be used by Lua code without calling require().
Created jumper.lua file based on the original Jumper library 1.8.1
jumper.lua
https://github.com/hkzorman/advanced_npc/commit/297dd379a61c3464bc72abdced8d86808d8d2a24
Basically, Jumper library's structure uses
require()
function which is blocked by Minetest when mod security is enabled.An alternative would be to replace Jumper library with a simple A* star implementation that can be used by Lua code without calling
require()
.