Fix @since for subflags. (#1831)

This commit is contained in:
BONNe 2021-08-19 22:10:44 +03:00 committed by GitHub
parent b906f5561a
commit c635647f85
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -627,7 +627,7 @@ public class Flag implements Comparable<Flag> {
* Take extra care to ensure that subflags have the same number of possible values as the parent flag.
* @param flags all Flags that are subflags
* @return Builder - flag builder
* @since 1.17.0
* @since 1.17.1
*/
public Builder subflags(Flag... flags) {
this.subflags.addAll(Arrays.asList(flags));