Hi there,
while working on a helper library for my lua addon i noticed that any custom library i try to add is ignored on server start-up...
I added the library to the luaAllowedLibraries section in the server cfg:
server.cfg
Code:
luaAllowedLibraries : [
"lib_helper"
]
lib_helper.lua
Code:
...
LibHelper = {}
function LibHelper.new()
local instance = {}
setmetatable(instance,LibHelper)
return instance
end
function LibHelper:sayHello()
print("Hello i am here")
end
....
addon.lua
Code:
...
local LibHelper = LibHelper.new()
-- nil error on LibHelper.new()
...
compared to the lib_rotate my lib_helper does not show up on the commandline output as loaded..
Anyone noticed something similar ?