Done Linking ArsMagica 2 Spells causes crash

Discussion in 'Hubris' started by tyler489, Jul 13, 2015.

  1. tyler489

    tyler489 Well-Known Member

    Messages:
    1,873
    Likes Received:
    202
    Local Time:
    6:14 PM
    link a spell in chat with the title mod and u get this crash
    java.lang.ClassCastException: net.minecraft.nbt.NBTTagString cannot be cast to net.minecraft.nbt.NBTTagIntArray
    at net.minecraft.nbt.NBTTagCompound.func_74759_k(NBTTagCompound.java:245)
    at am2.spell.SpellUtils.getShapeGroupParts(SpellUtils.java:466)
    at am2.spell.SpellUtils.constructSpellStack(SpellUtils.java:540)
    at am2.items.SpellBase.func_77624_a(SpellBase.java:115)
    at net.minecraft.item.ItemStack.func_82840_a(ItemStack.java:525)
    at net.minecraft.client.gui.GuiScreen.func_146285_a(GuiScreen.java:104)
    at Details:
    Tag type found: STRING
    Tag type expected: INT[]
    Tag name: ShapeGroup_0
     
  2. chugga_fan

    chugga_fan ME 4M storage cell of knowledge, all the time

    Messages:
    5,861
    Likes Received:
    730
    Local Time:
    7:14 PM
    don't link it then
     
  3. tyler489

    tyler489 Well-Known Member

    Messages:
    1,873
    Likes Received:
    202
    Local Time:
    6:14 PM
    if anyone links it it crashes Everyone who looks at it
     
  4. chugga_fan

    chugga_fan ME 4M storage cell of knowledge, all the time

    Messages:
    5,861
    Likes Received:
    730
    Local Time:
    7:14 PM
    tell them to not do that then, no way around it without poking into ars magika's code and breaking everything as all spells are NBT based
     
  5. tyler489

    tyler489 Well-Known Member

    Messages:
    1,873
    Likes Received:
    202
    Local Time:
    6:14 PM
    or disable the linking of spells?
     
  6. chugga_fan

    chugga_fan ME 4M storage cell of knowledge, all the time

    Messages:
    5,861
    Likes Received:
    730
    Local Time:
    7:14 PM
    i don't think that's a config option
     
  7. Chetwynd

    Chetwynd Well-Known Member

    Messages:
    1,119
    Likes Received:
    202
    Local Time:
    12:14 AM
    There was a issue like this on AS2 with tinkers items. there is nothing that can be done as Chugga said. Dont link or look at them.
     

Share This Page