Update impl.lua
This commit is contained in:
parent
45954df5be
commit
e635f0fa9a
7
impl.lua
7
impl.lua
|
@ -281,9 +281,14 @@ function Impl:LogWarning(msg, ...)
|
|||
main:LogWarning("[^6"..self.name.."^0] "..msg, ...)
|
||||
end
|
||||
|
||||
function Impl:GetConfig()
|
||||
return self.config
|
||||
end
|
||||
|
||||
function NewImpl(name)
|
||||
local impl = Impl:extend({
|
||||
name = name
|
||||
name = name,
|
||||
config = Config[name] or {},
|
||||
})
|
||||
main:RegisterImpl(name, impl)
|
||||
return impl
|
||||
|
|
Loading…
Reference in New Issue
Block a user