More powerAction work.
This commit is contained in:
@@ -112,15 +112,15 @@ public class PowersParser {
|
|||||||
while (iterator.hasNext()) {
|
while (iterator.hasNext()) {
|
||||||
|
|
||||||
String lineValue = iterator.next();
|
String lineValue = iterator.next();
|
||||||
String[] linevalues = lineValue.split("=");
|
String[] lineValues = lineValue.split("=");
|
||||||
String key = linevalues[0].trim();
|
String key = lineValues[0].trim();
|
||||||
PowerAction powerAction;
|
PowerAction powerAction;
|
||||||
String[] arguments;
|
String[] arguments;
|
||||||
|
|
||||||
switch (key) {
|
switch (key) {
|
||||||
case "ACTION":
|
case "ACTION":
|
||||||
powerAction = new PowerAction();
|
powerAction = new PowerAction();
|
||||||
arguments = linevalues[1].split(" ");
|
arguments = lineValues[1].split(" ");
|
||||||
powerAction.effect_id = arguments[0];
|
powerAction.effect_id = arguments[0];
|
||||||
|
|
||||||
break;
|
break;
|
||||||
|
|||||||
Reference in New Issue
Block a user