forked from MagicBane/Server
Debug code added
This commit is contained in:
@@ -58,6 +58,7 @@ public class PowerActionParser {
|
|||||||
PowerActionEntry powerActionEntry = new PowerActionEntry();
|
PowerActionEntry powerActionEntry = new PowerActionEntry();
|
||||||
EffectDescription effectDescription;
|
EffectDescription effectDescription;
|
||||||
|
|
||||||
|
try {
|
||||||
// Remove all lines that contain a # and leading/trailing blank lines
|
// Remove all lines that contain a # and leading/trailing blank lines
|
||||||
|
|
||||||
powerActionData = powerActionData.replaceAll("(?m)^(\\s*#.*|\\s*)\r?\n?", "").trim();
|
powerActionData = powerActionData.replaceAll("(?m)^(\\s*#.*|\\s*)\r?\n?", "").trim();
|
||||||
@@ -150,6 +151,9 @@ public class PowerActionParser {
|
|||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
} catch (Exception e) {
|
||||||
|
Logger.error(powerActionEntry.action_id + " " + e);
|
||||||
|
}
|
||||||
return powerActionEntry;
|
return powerActionEntry;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user