hkzorman / advanced_npc

Advanced NPC for Minetest, using mobs_redo API
Other
17 stars 5 forks source link

Jumper library causes issues with Minetest's mod security #5

Closed hkzorman closed 7 years ago

hkzorman commented 7 years ago

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().

hkzorman commented 7 years ago

Created jumper.lua file based on the original Jumper library 1.8.1

https://github.com/hkzorman/advanced_npc/commit/297dd379a61c3464bc72abdced8d86808d8d2a24