From e1071ab668bf8a4458a1d6498b2138c47f942fe7 Mon Sep 17 00:00:00 2001 From: ch-yx Date: Thu, 9 Nov 2023 05:58:49 +0800 Subject: [PATCH] Update Entities.md --- docs/scarpet/api/Entities.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/scarpet/api/Entities.md b/docs/scarpet/api/Entities.md index 82e8c805..1294ccd8 100644 --- a/docs/scarpet/api/Entities.md +++ b/docs/scarpet/api/Entities.md @@ -421,7 +421,7 @@ version indicates the version of the connected carpet client. ### `query(e, 'effect', name?)` Without extra arguments, it returns list of effect active on a living entity. Each entry is a triple of short -effect name, amplifier, and remaining duration in ticks. With an argument, if the living entity has not that potion active, +effect name, amplifier, and remaining duration in ticks (-1 if it has infinity duration). With an argument, if the living entity has not that potion active, returns `null`, otherwise return a tuple of amplifier and remaining duration.