terminal parses boolean exactly.

This commit is contained in:
Olivier Gagnon
2021-12-03 14:44:32 -05:00
parent 99ed9b25a3
commit 13b08d7cc8
40 changed files with 67 additions and 55 deletions
+1 -1
View File
@@ -9,7 +9,7 @@ export function hack(
router: IRouter,
player: IPlayer,
server: BaseServer,
args: (string | number)[],
args: (string | number | boolean)[],
): void {
if (args.length !== 0) {
terminal.error("Incorrect usage of hack command. Usage: hack");