|
|
|
@ -62,11 +62,11 @@ public class EffectsParser {
@@ -62,11 +62,11 @@ public class EffectsParser {
|
|
|
|
|
|
|
|
|
|
try { |
|
|
|
|
effectData.name = compiledLines.get(1).replace(" ", "").replace("\"", "").split(" ")[1]; |
|
|
|
|
int iconID = 0; |
|
|
|
|
int iconID; |
|
|
|
|
try { |
|
|
|
|
iconID = Integer.parseInt(compiledLines.get(1).replace(" ", "").split(" ")[2]); |
|
|
|
|
} catch(Exception e){ |
|
|
|
|
|
|
|
|
|
iconID = 0; |
|
|
|
|
} |
|
|
|
|
effectData.icon = iconID; |
|
|
|
|
} catch (Exception e) { |
|
|
|
|