From 26a58ddb0c5a08edb98fb636e965ee7526058056 Mon Sep 17 00:00:00 2001 From: Saber <88921984+SaberClass@users.noreply.github.com> Date: Mon, 3 Feb 2025 23:48:42 +0400 Subject: [PATCH] Update relationships.md removed duplicate descrption for 'find first target of a relationship' and fixed the incorrect typescript (I hope) example of getting the parent of an entity --- docs/learn/concepts/relationships.md | 14 +------------- 1 file changed, 1 insertion(+), 13 deletions(-) diff --git a/docs/learn/concepts/relationships.md b/docs/learn/concepts/relationships.md index 10faf2d..f9aff16 100644 --- a/docs/learn/concepts/relationships.md +++ b/docs/learn/concepts/relationships.md @@ -47,22 +47,10 @@ Get parent for entity world:parent(bob) ``` ```typescript [typescript] -world.parent(bob, pair(Eats, jecs.Wildcard) +world.parent(bob) ``` ::: -Find first target of a relationship for entity - -:::code-group -```luau [luau] -world:target(bob, Eats) -``` -```typescript [typescript] -world.target(bob, Eats) -``` -::: - - Find first target of a relationship for entity :::code-group