We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8840dde commit c681764Copy full SHA for c681764
2 files changed
lua/atomic/libraries/package/class.lua
@@ -23,12 +23,14 @@ local logger = atomic.class.get("Logger")
23
---@cast logger Atomic.Logger
24
25
function package:init()
26
+ local prefix = (self.id:Split(".")[3] or ""):lower()
27
+
28
self.configuration = self.configuration or {}
29
self._isLoaded = false
30
self._events = {}
31
self._commands = {}
32
self._binds = {}
- self.logger = atomic.class.new(logger)
33
+ self.logger = atomic.logger.new(prefix)
34
end
35
36
function package:load()
lua/autorun/atomic_autorun.lua
@@ -2,7 +2,7 @@ atomic = {
2
meta = {
3
author = "smokingplaya",
4
version_name = "Ackee",
5
- version = "0.3.1",
+ version = "0.3.2",
6
}
7
8
0 commit comments