@rbxts/covenant 1.5.3 → 1.5.5

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 CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rbxts/covenant",
3
- "version": "1.5.3",
3
+ "version": "1.5.5",
4
4
  "main": "src/init.luau",
5
5
  "scripts": {
6
6
  "build": "rbxtsc",
package/src/covenant.luau CHANGED
@@ -322,7 +322,9 @@ do
322
322
  -- ▲ ReadonlyArray.forEach ▲
323
323
  end)
324
324
  end)
325
- self.requestPayloadSend()
325
+ if RunService:IsClient() then
326
+ self.requestPayloadSend()
327
+ end
326
328
  end
327
329
  function Covenant:preventPostStartCall()
328
330
  local _arg0 = not self.started
@@ -749,8 +751,6 @@ do
749
751
  local childEntity = entityTracker[key]
750
752
  local _arg0 = childEntity ~= nil
751
753
  assert(_arg0)
752
- local _arg0_1 = self:worldContains(childEntity)
753
- assert(_arg0_1)
754
754
  self:worldSet(childEntity, childIdentityComponent, value)
755
755
  end
756
756
  for _k, _v in entriesChanged do
@@ -764,8 +764,6 @@ do
764
764
  local childEntity = _entityTracker[_key]
765
765
  local _arg0 = childEntity ~= nil
766
766
  assert(_arg0)
767
- local _arg0_1 = self:worldContains(childEntity)
768
- assert(_arg0_1)
769
767
  self:worldDelete(childEntity)
770
768
  local _entityTracker_1 = entityTracker
771
769
  local _key_1 = key