From aa74337149cdc0214243215cb363c2d095f5017c Mon Sep 17 00:00:00 2001 From: Chomp Date: Thu, 20 Oct 2022 12:22:22 +0100 Subject: [PATCH] Improve comment in #5 --- TypeScript/5ReplaceMethod/src/mod.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/TypeScript/5ReplaceMethod/src/mod.ts b/TypeScript/5ReplaceMethod/src/mod.ts index 6230011..e5f6f53 100644 --- a/TypeScript/5ReplaceMethod/src/mod.ts +++ b/TypeScript/5ReplaceMethod/src/mod.ts @@ -20,8 +20,8 @@ class Mod implements IPreAkiLoadMod // that we may need down the line Mod.container = container; - // Wait until WatermarkLocale gets resolved by the server and run code afterwards to replace - // the getDescription() function with the one below called 'replacementFunction() + // Wait until LauncherController gets resolved by the server and run code afterwards to replace + // the login() function with the one below called 'replacementFunction() container.afterResolution("LauncherController", (_t, result: LauncherController) => { // We want to replace the original method logic with something different