remove
fun <P : Any, C : Any> MutablePersistentDataContainer.remove(key: String, type: PersistentDataType<P, C>): Boolean(source)
This methode removes the value of the specified key from the PersistentDataContainer.
The key is only removed if the type of the value is the same as the type of the type.
Return
true if the key was removed, false otherwise.
Author
Fantamomo
Since
1.0-SNAPSHOT
Parameters
key
The key to remove the value for.
type
The type of the value to remove.