Solved Why is the display name not in game displayed on the item?

Discussion in 'Plugin Development' started by dbaum102, Dec 27, 2015.

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

    dbaum102

    Code:
    ItemStack torchOff = new ItemStack(Material.MAGMA_CREAM);
    ItemMeta torchOffMeta = torchOff.getItemMeta();
    torchMeta.setDisplayName(ChatColor.GREEN + "Playing hub tag:" + ChatColor.RED + " FALSE");
                torchOff.setItemMeta(torchOffMeta);
    NVM
    I JUST FOUND IT XD
    torchMeta not torchOffMeta SMH

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
Thread Status:
Not open for further replies.

Share This Page