Removing ONE metadata value

Discussion in 'Plugin Development' started by AGuyWhoSkis, Feb 18, 2014.

Thread Status:
Not open for further replies.
  1. Offline

    AGuyWhoSkis

    Hey guys. I want to remove a single metadata value from a player. By this I don't mean take the metadata value "b" and remove all indexes of it. I mean remove the first index of the metadata value "b". I have yet to find a solution via google :(
     
  2. Offline

    Weasel_Squeezer

    The metadata system is based on that of a Map implementation. So There can only be one key, and it isn't indexed. If you put one value with a key of "b", and put another value with a key of "b", the first value will be replaced with the new. Unless you are talking about the value you set as the metadata, and that value was and array, or type of list
     
Thread Status:
Not open for further replies.

Share This Page