Fix no builders for page button formats

v2-dev 1.0.1
William 2 years ago
parent c9f2eba56c
commit a4b168ad61

@ -4,7 +4,7 @@ plugins {
} }
group 'net.william278' group 'net.william278'
version '1.0' version '1.0.1'
repositories { repositories {
mavenCentral() mavenCentral()

@ -138,6 +138,18 @@ public class ListOptions {
return this; return this;
} }
@NotNull
public Builder setPreviousButtonFormat(@NotNull String previousButtonFormat) {
options.previousButtonFormat = previousButtonFormat;
return this;
}
@NotNull
public Builder setNextButtonFormat(@NotNull String nextButtonFormat) {
options.nextButtonFormat = nextButtonFormat;
return this;
}
@NotNull @NotNull
public ListOptions build() { public ListOptions build() {
return options; return options;

Loading…
Cancel
Save