1 files changed, 2 insertions, 4 deletions
diff --git a/src/util/util/BitField.ts b/src/util/util/BitField.ts
index e2f4e2a5..413112ca 100644
--- a/src/util/util/BitField.ts
+++ b/src/util/util/BitField.ts
@@ -138,10 +138,8 @@ export class BitField {
const FLAGS = this.FLAGS || this.constructor?.FLAGS;
if (typeof bit === "string") {
- if (typeof FLAGS[bit] !== "undefined")
- return FLAGS[bit];
- else
- bit = BigInt(bit);
+ if (typeof FLAGS[bit] !== "undefined") return FLAGS[bit];
+ else bit = BigInt(bit);
}
if (
|