Sometimes bad floats.
This commit is contained in:
1 parent
462f6725b6
commit
bf2174fbe5
1 file changed
+2
-2
@@ -95,8 +95,8 @@ public class PowersParser {
|
||||
powerEntry.costType = iterator.next();
|
||||
powerEntry.cost = Float.parseFloat(iterator.next());
|
||||
powerEntry.difficulty = Float.parseFloat(iterator.next());
|
||||
powerEntry.precision = Float.parseFloat(iterator.next().replaceAll("(\\.0)+$", ""));
|
||||
powerEntry.init_time = Float.parseFloat(iterator.next());
|
||||
powerEntry.precision = Float.parseFloat(iterator.next());
|
||||
powerEntry.init_time = Float.parseFloat(iterator.next().replaceAll("(\\.0)+$", ""));
|
||||
powerEntry.release_time = Float.parseFloat(iterator.next());
|
||||
powerEntry.recycle_time = Float.parseFloat(iterator.next());
|
||||
powerEntry.hitRollYN = Integer.parseInt(iterator.next());
|
||||
|
||||
Reference in new issue
Block a user