From eea71b68a4f89ac14bf6797804f97d0d39612258 Mon Sep 17 00:00:00 2001 From: elliotsayes Date: Fri, 18 Oct 2024 16:53:14 +0700 Subject: [PATCH] Update token.lua Fix bug where debit notice doesn't have a target in AOS < 2.0 --- blueprints/token.lua | 1 + 1 file changed, 1 insertion(+) diff --git a/blueprints/token.lua b/blueprints/token.lua index 50c3607f..bb06100d 100644 --- a/blueprints/token.lua +++ b/blueprints/token.lua @@ -192,6 +192,7 @@ Handlers.add('transfer', Handlers.utils.hasMatchingTag("Action", "Transfer"), fu if msg.reply then msg.reply(debitNotice) else + debitNotice.Target = msg.From Send(debitNotice) end Send(creditNotice)