Skip to content

Commit

Permalink
Fix equipcard number.
Browse files Browse the repository at this point in the history
  • Loading branch information
adeFuLoDgu committed Oct 27, 2024
1 parent 26a2890 commit 699515e
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion noname/get/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
/**
Expand Down

0 comments on commit 699515e

Please sign in to comment.