forked from MagicBane/Server
Naming conventions set
This commit is contained in:
@@ -101,7 +101,7 @@ public class PowersParser {
|
||||
powerEntry.power_id = iterator.next();
|
||||
powerEntry.power = iterator.next().replaceAll("\"", "");
|
||||
|
||||
PowerData power = new PowerData();
|
||||
PowerEntry power = new PowerEntry();
|
||||
power.power_type = mbEnums.PowerType.valueOf(iterator.next());
|
||||
power.icon = Integer.parseInt(iterator.next());
|
||||
power.powerBase = iterator.next().replaceAll("\"", "");
|
||||
@@ -112,7 +112,7 @@ public class PowersParser {
|
||||
// Account for second definition
|
||||
|
||||
if (nextValue.equals("SPELL") || nextValue.equals("SKILL")) {
|
||||
power = new PowerData();
|
||||
power = new PowerEntry();
|
||||
power.power_type = mbEnums.PowerType.valueOf(nextValue);
|
||||
power.icon = Integer.parseInt(iterator.next());
|
||||
power.powerBase = iterator.next().replaceAll("\"", "");
|
||||
|
||||
Reference in New Issue
Block a user