Colour lore corruption

Discussion in 'Server & Community Management' started by Hex_27, May 30, 2017.

  1. [​IMG]
    This happens to some items' lores out of the blue. Why and how do we fix it?
     
  2. Are you using the correct symbol? (Usually '&' for most plugins)
     
  3. It doesn't happen when we try to spawn it. The item would be normally coloured, but then after some restarts, this just happens
     
  4. Odd... Which plugin are you using to color the lore?

    ETA: Or are you using /give?
     
  5. Erm... It's a custom made plugin, the lore was set via "ItemMeta meta = item.getItemMeta(); meta.setLore(lore);"
    But the color comes out okay, the funny symbols only appear in the items like maybe a week after. And not all items experience it, only a few.
     
  6. So there are a few possible reasons why this is happening:
    - The developer is incorrectly adding the colors to the lore (Are you using a config to adjust the lore?)
    - Some other plugin is messing up things (not likely)

    Try asking the developer if they are using ChatColor.COLOR (Or ChatColor.translateAlternateColorCodes() if using config) and isn't adding the symbol themselves.
     
  7. It's a hardcoded lore... It's just ChatColor.YELLOW + "" + ChatColor.BOLD + text.
    Anyway, the developer's code does not have anything that randomly changes the text a week later...