From e635f0fa9a5a0e2552a2259878fa67bb3a9a378f Mon Sep 17 00:00:00 2001 From: Lorraxs Date: Mon, 11 Dec 2023 14:22:19 +0700 Subject: [PATCH] Update impl.lua --- impl.lua | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/impl.lua b/impl.lua index 24ce5b9..d2bfc49 100644 --- a/impl.lua +++ b/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