WorldEdit-BE icon indicating copy to clipboard operation
WorldEdit-BE copied to clipboard

Add Ascend and Descend

Open Fynn93 opened this issue 1 year ago • 2 comments

Added Ascend and Descend (Not the Best Implementation but it works!)

Fynn93 avatar Aug 29 '22 15:08 Fynn93

Done (see commit #9088179)

Fynn93 avatar Aug 30 '22 10:08 Fynn93

There seems to be some indentation, trailing spaces and semicolons missing. These are the errors from eslint.

/home/runner/work/WorldEdit-BE/WorldEdit-BE/src/library/Minecraft.ts
  194:1  error  Trailing spaces not allowed  no-trailing-spaces

/home/runner/work/WorldEdit-BE/WorldEdit-BE/src/server/commands/navigation/ascend.ts
   7:1   error  Expected indentation of 2 spaces but found 4         indent
   8:1   error  Expected indentation of 2 spaces but found 4         indent
   9:1   error  Expected indentation of 2 spaces but found 4         indent
  [10](https://github.com/SIsilicon/WorldEdit-BE/runs/8123310493?check_suite_focus=true#step:8:11):1   error  Expected indentation of 2 spaces but found 4         indent
  [11](https://github.com/SIsilicon/WorldEdit-BE/runs/8123310493?check_suite_focus=true#step:8:12):1   error  Expected indentation of 4 spaces but found 8         indent
  [12](https://github.com/SIsilicon/WorldEdit-BE/runs/8123310493?check_suite_focus=true#step:8:13):1   error  Expected indentation of 6 spaces but found 12        indent
  [13](https://github.com/SIsilicon/WorldEdit-BE/runs/8123310493?check_suite_focus=true#step:8:14):1   error  Expected indentation of 6 spaces but found 12        indent
  [14](https://github.com/SIsilicon/WorldEdit-BE/runs/8123310493?check_suite_focus=true#step:8:15):1   error  Expected indentation of 6 spaces but found 12        indent
  [15](https://github.com/SIsilicon/WorldEdit-BE/runs/8123310493?check_suite_focus=true#step:8:16):1   error  Expected indentation of 4 spaces but found 8         indent
  [16](https://github.com/SIsilicon/WorldEdit-BE/runs/8123310493?check_suite_focus=true#step:8:17):1   error  Expected indentation of 2 spaces but found 4         indent
  [20](https://github.com/SIsilicon/WorldEdit-BE/runs/8123310493?check_suite_focus=true#step:8:21):1   error  Expected indentation of 2 spaces but found 4         indent
  20:9   error  'location' is never reassigned. Use 'const' instead  prefer-const
  [21](https://github.com/SIsilicon/WorldEdit-BE/runs/8123310493?check_suite_focus=true#step:8:22):1   error  Expected indentation of 2 spaces but found 4         indent
  [23](https://github.com/SIsilicon/WorldEdit-BE/runs/8123310493?check_suite_focus=true#step:8:24):1   error  Expected indentation of 2 spaces but found 4         indent
  [24](https://github.com/SIsilicon/WorldEdit-BE/runs/8123310493?check_suite_focus=true#step:8:25):1   error  Expected indentation of 4 spaces but found 8         indent
  24:13  error  'floor' is never reassigned. Use 'const' instead     prefer-const
  [25](https://github.com/SIsilicon/WorldEdit-BE/runs/8123310493?check_suite_focus=true#step:8:26):1   error  Expected indentation of 4 spaces but found 8         indent
  25:13  error  'legs' is never reassigned. Use 'const' instead      prefer-const
  [26](https://github.com/SIsilicon/WorldEdit-BE/runs/8123310493?check_suite_focus=true#step:8:27):1   error  Expected indentation of 4 spaces but found 8         indent
  26:13  error  'head' is never reassigned. Use 'const' instead      prefer-const
  [28](https://github.com/SIsilicon/WorldEdit-BE/runs/8123310493?check_suite_focus=true#step:8:29):1   error  Expected indentation of 4 spaces but found 8         indent
  28:28  error  Missing semicolon                                    semi
  [30](https://github.com/SIsilicon/WorldEdit-BE/runs/8123310493?check_suite_focus=true#step:8:31):1   error  Expected indentation of 4 spaces but found 8         indent
  30:62  error  Missing semicolon                                    semi
  [31](https://github.com/SIsilicon/WorldEdit-BE/runs/8123310493?check_suite_focus=true#step:8:32):1   error  Expected indentation of 4 spaces but found 8         indent
  31:62  error  Missing semicolon                                    semi
  [32](https://github.com/SIsilicon/WorldEdit-BE/runs/8123310493?check_suite_focus=true#step:8:33):1   error  Expected indentation of 4 spaces but found 8         indent
  32:62  error  Missing semicolon                                    semi
  [34](https://github.com/SIsilicon/WorldEdit-BE/runs/8123310493?check_suite_focus=true#step:8:35):1   error  Expected indentation of 4 spaces but found 8         indent
  [36](https://github.com/SIsilicon/WorldEdit-BE/runs/8123310493?check_suite_focus=true#step:8:37):1   error  Expected indentation of 6 spaces but found 12        indent
  [37](https://github.com/SIsilicon/WorldEdit-BE/runs/8123310493?check_suite_focus=true#step:8:38):1   error  Expected indentation of 6 spaces but found 12        indent
  [38](https://github.com/SIsilicon/WorldEdit-BE/runs/8123310493?check_suite_focus=true#step:8:39):1   error  Expected indentation of 4 spaces but found 8         indent
  [39](https://github.com/SIsilicon/WorldEdit-BE/runs/8123310493?check_suite_focus=true#step:8:40):1   error  Expected indentation of 2 spaces but found 4         indent
  [40](https://github.com/SIsilicon/WorldEdit-BE/runs/8123310493?check_suite_focus=true#step:8:41):1   error  Expected indentation of 2 spaces but found 4         indent
  40:65  error  Missing semicolon                                    semi
  [44](https://github.com/SIsilicon/WorldEdit-BE/runs/8123310493?check_suite_focus=true#step:8:45):1   error  Expected indentation of 2 spaces but found 4         indent
  44:9   error  'levels' is never reassigned. Use 'const' instead    prefer-const
  [46](https://github.com/SIsilicon/WorldEdit-BE/runs/8123310493?check_suite_focus=true#step:8:47):1   error  Expected indentation of 2 spaces but found 4         indent
  [47](https://github.com/SIsilicon/WorldEdit-BE/runs/8123310493?check_suite_focus=true#step:8:48):1   error  Expected indentation of 4 spaces but found 8         indent
  [48](https://github.com/SIsilicon/WorldEdit-BE/runs/8123310493?check_suite_focus=true#step:8:49):1   error  Expected indentation of 2 spaces but found 4         indent
  [50](https://github.com/SIsilicon/WorldEdit-BE/runs/8123310493?check_suite_focus=true#step:8:51):1   error  Expected indentation of 2 spaces but found 4         indent

/home/runner/work/WorldEdit-BE/WorldEdit-BE/src/server/commands/navigation/descend.ts
   7:1   error  Expected indentation of 2 spaces but found 4         indent
   8:1   error  Expected indentation of 2 spaces but found 4         indent
   9:1   error  Expected indentation of 2 spaces but found 4         indent
  10:1   error  Expected indentation of 2 spaces but found 4         indent
  11:1   error  Expected indentation of 4 spaces but found 8         indent
  12:1   error  Expected indentation of 6 spaces but found 12        indent
  13:1   error  Expected indentation of 6 spaces but found 12        indent
  14:1   error  Expected indentation of 6 spaces but found 12        indent
  15:1   error  Expected indentation of 4 spaces but found 8         indent
  16:1   error  Expected indentation of 2 spaces but found 4         indent
  20:1   error  Expected indentation of 2 spaces but found 4         indent
  20:9   error  'location' is never reassigned. Use 'const' instead  prefer-const
  21:1   error  Expected indentation of 2 spaces but found 4         indent
  23:1   error  Expected indentation of 2 spaces but found 4         indent
  24:1   error  Expected indentation of 4 spaces but found 8         indent
  24:13  error  'floor' is never reassigned. Use 'const' instead     prefer-const
  25:1   error  Expected indentation of 4 spaces but found 8         indent
  25:13  error  'legs' is never reassigned. Use 'const' instead      prefer-const
  26:1   error  Expected indentation of 4 spaces but found 8         indent
  26:13  error  'head' is never reassigned. Use 'const' instead      prefer-const
  28:1   error  Expected indentation of 4 spaces but found 8         indent
  28:28  error  Missing semicolon                                    semi
  30:1   error  Expected indentation of 4 spaces but found 8         indent
  30:[62](https://github.com/SIsilicon/WorldEdit-BE/runs/8123310493?check_suite_focus=true#step:8:63)  error  Missing semicolon                                    semi
  31:1   error  Expected indentation of 4 spaces but found 8         indent
  31:62  error  Missing semicolon                                    semi
  32:1   error  Expected indentation of 4 spaces but found 8         indent
  32:62  error  Missing semicolon                                    semi
  34:1   error  Expected indentation of 4 spaces but found 8         indent
  36:1   error  Expected indentation of 6 spaces but found 12        indent
  37:1   error  Expected indentation of 6 spaces but found 12        indent
  38:1   error  Expected indentation of 4 spaces but found 8         indent
  39:1   error  Expected indentation of 2 spaces but found 4         indent
  40:1   error  Expected indentation of 2 spaces but found 4         indent
  40:[66](https://github.com/SIsilicon/WorldEdit-BE/runs/8123310493?check_suite_focus=true#step:8:67)  error  Missing semicolon                                    semi
  44:1   error  Expected indentation of 2 spaces but found 4         indent
  44:9   error  'levels' is never reassigned. Use 'const' instead    prefer-const
  46:1   error  Expected indentation of 2 spaces but found 4         indent
  47:1   error  Expected indentation of 4 spaces but found 8         indent
  48:1   error  Expected indentation of 2 spaces but found 4         indent
  50:1   error  Expected indentation of 2 spaces but found 4         indent

SIsilicon avatar Aug 31 '22 21:08 SIsilicon

Fixed (see commit #dd36a62)

Fynn93 avatar Sep 04 '22 07:09 Fynn93

Thanks!

SIsilicon avatar Sep 17 '22 21:09 SIsilicon