summary refs log tree commit diff
path: root/src/util/BitField.ts
diff options
context:
space:
mode:
Diffstat (limited to 'src/util/BitField.ts')
-rw-r--r--src/util/BitField.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/util/BitField.ts b/src/util/BitField.ts

index aba98d75..5cccd352 100644 --- a/src/util/BitField.ts +++ b/src/util/BitField.ts
@@ -137,7 +137,7 @@ export class BitField { const resolve = this.constructor?.resolve || this.resolve; return bit.map((p) => resolve(p)).reduce((prev, p) => BigInt(prev) | BigInt(p), 0n); } - if (typeof bit === "string" && typeof FLAGS[bit] !== "undefined") return this.FLAGS[bit]; + if (typeof bit === "string" && typeof FLAGS[bit] !== "undefined") return FLAGS[bit]; throw new RangeError("BITFIELD_INVALID: " + bit); } }