@rbxts/replecs 0.1.0-alpha1 → 0.1.0-alpha2

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.
@@ -893,6 +893,9 @@ function init(server: Server, _world: World?)
893
893
  track_entity_pair(server, entity, relation)
894
894
  masking:unregister_stop_component(entity, relation, COMPONENT_TYPES.pair)
895
895
  masking:start_component(entity, relation, COMPONENT_TYPES.pair, filter)
896
+ if server.additions[entity] then
897
+ masking:allocate_entity_addition(entity, relation, COMPONENT_TYPES.pair)
898
+ end
896
899
  end))
897
900
  hook(hooks.changed(world, components.pair, function(entity, id, filter)
898
901
  if not IS_PAIR(id) then
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rbxts/replecs",
3
- "version": "0.1.0-alpha1",
3
+ "version": "0.1.0-alpha2",
4
4
  "description": "Replication library for Jecs",
5
5
  "main": "out/init.lua",
6
6
  "types": "out/index.d.ts",