set Metadata
Adds getClassById metadata value to an object.
Parameters
subject
The object receiving the metadata.
metadata Key
A unique key to identify this metadata.
new Metadata Value
The metadata value to apply.
Throws
If value is null, or the owning plugin is null