From 76edd5c9bc613deab912eec0394030eb2406be1f Mon Sep 17 00:00:00 2001 From: MukjepScarlet <93977077+MukjepScarlet@users.noreply.github.com> Date: Tue, 25 Feb 2025 11:06:58 +0800 Subject: [PATCH] comment --- .../liquidbounce/script/bindings/features/ScriptModule.kt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main/kotlin/net/ccbluex/liquidbounce/script/bindings/features/ScriptModule.kt b/src/main/kotlin/net/ccbluex/liquidbounce/script/bindings/features/ScriptModule.kt index 959614f4931..937bb9af5c8 100644 --- a/src/main/kotlin/net/ccbluex/liquidbounce/script/bindings/features/ScriptModule.kt +++ b/src/main/kotlin/net/ccbluex/liquidbounce/script/bindings/features/ScriptModule.kt @@ -69,8 +69,8 @@ class ScriptModule(val script: PolyglotScript, moduleObject: Map) : * @param eventName Name of the event. * @param handler JavaScript function used to handle the event. * 1. `() => void` (enable/disable) - * 2. `(Event) => void` - * 3. `async (JsSequence, Event) => void` + * 2. `(Event) => void` (handler) + * 3. `async (Event) => void` (sequenceHandler) */ fun on(eventName: String, handler: org.graalvm.polyglot.Value) { if (!handler.canExecute()) {