Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -211,7 +211,7 @@ sealed interface Builder permits PlayerHeadObjectContentsImpl.BuilderImpl {
* @since 4.25.0
*/
@Contract(value = "_ -> this")
Builder profileProperties(final Collection<ProfileProperty> properties);
Builder profileProperties(final Collection<? extends ProfileProperty> properties);

/**
* Sets the skin (name, id, properties, and texture) from the given source, overriding any existing values.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ public Builder profileProperty(final ProfileProperty property) {
}

@Override
public Builder profileProperties(final Collection<ProfileProperty> properties) {
public Builder profileProperties(final Collection<? extends ProfileProperty> properties) {
for (final ProfileProperty property : requireNonNull(properties, "properties")) {
this.profileProperty(property);
}
Expand Down