Saving ItemStack Enchantments

Discussion in 'Plugin Development' started by ibWill, Aug 25, 2014.

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

    ibWill

    Ok so I found out that you could save ItemStacks to a config, but there was one problem. Enchantments would not save. Is there a way to do this when saving the itemstack to the config?
     
  2. Offline

    reider45

    You can always convert the enchantment to a string.
     
  3. Offline

    Jimfutsu

    You'd save the ItemStack Number, and the Enchantment wrapper number.
     
  4. Offline

    ibWill

    Enchantment wrapper number?
     
  5. Offline

    Jimfutsu

    Yes, it is a way to enchant an item, I would think this is the best way for you.
     
Thread Status:
Not open for further replies.

Share This Page