Class Cast Exception When Using Spell.
Democretes opened this issue ยท 6 comments
Got the following crash report from casting the following spell. The spell compiled fine and I was able to put into a CAD.
Here you go. I also found out that when switching the 0 from the ConstantWrapper to a greater number, the bug does not occur.
http://pastebin.com/wjx6ZUDX
Is the spell json the copy clipboard in teh spell programmer or is it a separate file?
https://github.com/Vazkii/Psi/blob/master/src/main/java/vazkii/psi/common/spell/constant/PieceConstantWrapper.java#L53
this line should return 0D, not 0. That's the bug.