Fix optional tag from tagkey generation ()

This commit is contained in:
Deximus-Maximus 2022-03-13 09:51:58 -04:00 committed by GitHub
parent 57ba8ec078
commit 6d3e56363a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -346,7 +346,7 @@ public abstract class FabricTagProvider<T> extends AbstractTagProvider<T> {
* @return the {@link FabricTagBuilder} instance
*/
public FabricTagBuilder<T> addOptionalTag(TagKey<T> tag) {
return addOptional(tag.id());
return addOptionalTag(tag.id());
}
/**