Solved Does anyone use Player.SetMetadata(K, V) ?

Discussion in 'Plugin Development' started by Prgr, Jun 4, 2013.

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

    Prgr

    I am curious if it is a good idea to use Player metadata to set material ids to a key. I do not need to save these values upon reload or player disconnect.

    I am more curious if this is a better idea than using a Map<String, Material> nameToMaterial;
     
  2. It's definetely a better way to use your own HashMap!
     
    Prgr likes this.
  3. Offline

    Prgr

    Okay, thank you
     
Thread Status:
Not open for further replies.

Share This Page