@rbxts/replecs 0.1.0-alpha3 → 0.1.0-alpha5

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.
@@ -931,7 +931,7 @@ function init(server: Server, _world: World?)
931
931
  masking:start_component(entity, component, component_type, filter)
932
932
  if server.additions[entity] then
933
933
  masking:allocate_entity_addition(entity, component, component_type)
934
- else
934
+ elseif server.track_info.entities[entity] then
935
935
  masking:register_component_addition(entity, component, component_type)
936
936
  end
937
937
  end))
@@ -975,7 +975,7 @@ function init(server: Server, _world: World?)
975
975
  masking:start_component(entity, relation, COMPONENT_TYPES.pair, filter)
976
976
  if server.additions[entity] then
977
977
  masking:allocate_entity_addition(entity, relation, COMPONENT_TYPES.pair)
978
- else
978
+ elseif server.track_info.entities[entity] then
979
979
  masking:register_component_addition(entity, relation, COMPONENT_TYPES.pair)
980
980
  end
981
981
  end))
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rbxts/replecs",
3
- "version": "0.1.0-alpha3",
3
+ "version": "0.1.0-alpha5",
4
4
  "description": "Replication library for Jecs",
5
5
  "main": "out/init.lua",
6
6
  "types": "out/index.d.ts",
@@ -41,6 +41,6 @@
41
41
  "prettier": "^3.2.5"
42
42
  },
43
43
  "dependencies": {
44
- "@rbxts/jecs": "^0.9.0-rc.7"
44
+ "@rbxts/jecs": "^0.9.0-rc.8"
45
45
  }
46
46
  }