From 699515ed30537d7be10f85b8d87274a24d192d8a Mon Sep 17 00:00:00 2001 From: adeFuLoDgu <64475795+adeFuLoDgu@users.noreply.github.com> Date: Mon, 28 Oct 2024 00:59:12 +0800 Subject: [PATCH] Fix equipcard number. --- noname/get/index.js | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/noname/get/index.js b/noname/get/index.js index 8ffc026b4a..7db95db57b 100644 --- a/noname/get/index.js +++ b/noname/get/index.js @@ -2850,7 +2850,10 @@ export class Get extends GetCompatible { strNumber(num, forced) { if (typeof num !== "number") return; let result = lib.numstrList.get(num); - if (result === undefined && forced) result = num.toString(); + if (result === undefined) { + if (forced) result = num.toString(); + result = num; + } return result; } /**