WorldEdit icon indicating copy to clipboard operation
WorldEdit copied to clipboard

copy and paste have invalid tab completions

Open josephjthomas opened this issue 3 years ago • 3 comments

WorldEdit Version

7.2.7-SNAPSHOT+5920-1173385

Platform Version

git-Paper-228 (MC: 1.17.1)

Confirmations

  • [X] I am using the most recent Minecraft release.
  • [X] I am not using a hybrid server, e.g. a server that combines Bukkit and Forge. Examples include Arclight, Mohist, and Cardboard.
  • [X] I am using a version of WorldEdit compatible with my Minecraft version.
  • [X] I am using the latest or recommended version of my platform software.

Bug Description

The supported flags for copy are ebm, but tab completion makes them into something invalid: The same applies to //paste too

Expected Behavior

Have proper tab completion, like //set dirteee tab doesn't recommend random letters too.

Reproduction Steps

  1. Type //copy -e and now add random letters and tab complete them

Anything Else?

No response

josephjthomas avatar Aug 29 '21 19:08 josephjthomas

did this just start happening with a paper update? I know they recently changed something about how commands are handled, it may have broken our completions.

wizjany avatar Aug 29 '21 19:08 wizjany

I updated from 222 to 228 earlier, but I can't assure it didn't work before too, one of my server staff reported it. I don't really work with WorldEdit myself.

josephjthomas avatar Aug 29 '21 19:08 josephjthomas

This is sort-of intended behavior, but I'm going to try and clean it up at some point. Technically the tab completions are valid, you're the one who added the invalid portion if I'm reading the reproduction steps right.

octylFractal avatar Aug 29 '21 19:08 octylFractal