forked from MagicBane/Server
Regex updated to include spaces only in a line.
This commit is contained in:
@@ -55,7 +55,7 @@ public class EffectsParser {
|
||||
|
||||
// Remove all lines that contain a # and leading/trailing blank lines
|
||||
|
||||
effectData = effectData.replaceAll("(?m)^.*#.*\r?\n?", "");
|
||||
effectData = effectData.replaceAll("(?m)^[ \t]*\r?\n?", "");
|
||||
effectData = effectData.trim();
|
||||
|
||||
// Parse effect entry header
|
||||
|
||||
Reference in New Issue
Block a user