withoutProperty

@Contract(value = "_ -> new", pure = true)
abstract fun withoutProperty(index: Int): GameProfile

Creates a new game profile with the property at the given index removed from the list of properties.

Return

a new game profile

Parameters

index

the index of the property to remove


@Contract(value = "_ -> new", pure = true)
abstract fun withoutProperty(property: ProfileProperty): GameProfile

Creates a new game profile with the given property removed from the list of properties.

Return

a new game profile

Parameters

property

the property to remove