mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2026-04-18 23:38:35 +02:00
build fix, lint, remove some instanceof checks
This commit is contained in:
@@ -6,10 +6,7 @@ export function canAccessBladeburner(this: PlayerObject): boolean {
|
||||
}
|
||||
|
||||
export function inBladeburner(this: PlayerObject): boolean {
|
||||
if (this.bladeburner == null) {
|
||||
return false;
|
||||
}
|
||||
return this.bladeburner instanceof Bladeburner;
|
||||
return Boolean(this.bladeburner);
|
||||
}
|
||||
|
||||
export function startBladeburner(this: PlayerObject): void {
|
||||
|
||||
Reference in New Issue
Block a user