Version 0.1.24

This commit is contained in:
Nathan Adams 2018-02-07 13:45:50 +01:00
parent ed3ecfbae3
commit 0b2414808e
2 changed files with 10 additions and 1 deletions

View file

@ -3,7 +3,7 @@ import groovy.io.FileType
apply plugin: 'java-library' apply plugin: 'java-library'
apply plugin: 'maven' apply plugin: 'maven'
version = '0.1.23' version = '0.1.24'
group = 'com.mojang' group = 'com.mojang'
task wrapper(type: Wrapper) { task wrapper(type: Wrapper) {

View file

@ -55,6 +55,15 @@ public class SuggestionsBuilder {
return this; return this;
} }
public SuggestionsBuilder add(final SuggestionsBuilder other) {
result.addAll(other.result);
return this;
}
public SuggestionsBuilder createOffset(final int start) {
return new SuggestionsBuilder(input, start);
}
public SuggestionsBuilder restart() { public SuggestionsBuilder restart() {
return new SuggestionsBuilder(input, start); return new SuggestionsBuilder(input, start);
} }