@rbxts/covenant 3.3.1 → 3.3.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/src/covenant.luau +1 -4
package/package.json
CHANGED
package/src/covenant.luau
CHANGED
|
@@ -378,7 +378,7 @@ do
|
|
|
378
378
|
self._world:set(entity, component, newState)
|
|
379
379
|
end
|
|
380
380
|
if self.logging and RunService:IsStudio() then
|
|
381
|
-
print(`{
|
|
381
|
+
print(`{self:getComponentName(component)}.{entity}:{lastState}->{newState}`)
|
|
382
382
|
end
|
|
383
383
|
local _stringifiedComponentSubscribers = self.stringifiedComponentSubscribers
|
|
384
384
|
local _arg0 = tostring(component)
|
|
@@ -510,9 +510,6 @@ do
|
|
|
510
510
|
_stringfiedComponentsToNameMap[cStr] = _name
|
|
511
511
|
self.undefinedStringifiedComponents[cStr] = true
|
|
512
512
|
self.stringfiedComponents[cStr] = true
|
|
513
|
-
if RunService:IsStudio() and self.logging then
|
|
514
|
-
print(`{(debug.info(2, "sl"))}:{c}`)
|
|
515
|
-
end
|
|
516
513
|
return c
|
|
517
514
|
end
|
|
518
515
|
function Covenant:getComponentName(component)
|