chore: cleanup annotations in api adventure patch
This commit is contained in:
parent
c4351787c6
commit
39255145b6
64 changed files with 1308 additions and 1246 deletions
|
@ -397,8 +397,9 @@ index 0000000000000000000000000000000000000000..00000000000000000000000000000000
|
|||
if (offers == null) {
|
||||
- return cursor;
|
||||
+ return; // Paper - Method returns void
|
||||
+ }
|
||||
+
|
||||
}
|
||||
- candidates.addAll(offers);
|
||||
|
||||
+ // Paper start - JLine update
|
||||
+ for (String completion : offers) {
|
||||
+ if (completion.isEmpty()) {
|
||||
|
@ -406,10 +407,9 @@ index 0000000000000000000000000000000000000000..00000000000000000000000000000000
|
|||
+ }
|
||||
+
|
||||
+ candidates.add(new Candidate(completion));
|
||||
}
|
||||
- candidates.addAll(offers);
|
||||
+ }
|
||||
+ // Paper end
|
||||
|
||||
+
|
||||
+ // Paper start - JLine handles cursor now
|
||||
+ /*
|
||||
final int lastSpace = buffer.lastIndexOf(' ');
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue