mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2026-04-23 01:32:55 +02:00
Finish removing player passing
This commit is contained in:
@@ -3,7 +3,7 @@ import { getSubdirectories } from "./DirectoryServerHelpers";
|
||||
|
||||
import { Aliases, GlobalAliases, substituteAliases } from "../Alias";
|
||||
import { DarkWebItems } from "../DarkWeb/DarkWebItems";
|
||||
import { IPlayer } from "../PersonObjects/IPlayer";
|
||||
import { Player } from "../Player";
|
||||
import { GetAllServers } from "../Server/AllServers";
|
||||
import { Server } from "../Server/Server";
|
||||
import { ParseCommand, ParseCommands } from "./Parser";
|
||||
@@ -57,7 +57,6 @@ const commands = [
|
||||
];
|
||||
|
||||
export async function determineAllPossibilitiesForTabCompletion(
|
||||
p: IPlayer,
|
||||
input: string,
|
||||
index: number,
|
||||
currPath = "",
|
||||
@@ -65,8 +64,8 @@ export async function determineAllPossibilitiesForTabCompletion(
|
||||
input = substituteAliases(input);
|
||||
let allPos: string[] = [];
|
||||
allPos = allPos.concat(Object.keys(GlobalAliases));
|
||||
const currServ = p.getCurrentServer();
|
||||
const homeComputer = p.getHomeComputer();
|
||||
const currServ = Player.getCurrentServer();
|
||||
const homeComputer = Player.getHomeComputer();
|
||||
|
||||
let parentDirPath = "";
|
||||
let evaledParentDirPath: string | null = null;
|
||||
|
||||
Reference in New Issue
Block a user