Keep ItemMeta

Discussion in 'Plugin Development' started by Irantwomiles, Mar 13, 2016.

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

    Irantwomiles

    I want to have a custom sign with the whole custom lore and display name but how do I make it so it keeps its item meta after I place the sign down?
     
  2. Offline

    Desle

    saving it's location and metadata is a solution I guess
     
  3. Offline

    Scorpionvssub

    if all signs are the same type of lore etc. you can just get it from config in a sign change event else use a hashmap storing loc and info from sign and place it back on the sign when placing a sign there again

    ELSE another option on destroy that its named something like locx+locz+w and on sign place you prefix it as 4930<world> and it grabs that hashmaps info
     
    Last edited: Mar 13, 2016
Thread Status:
Not open for further replies.

Share This Page