forked from MagicBane/Server
More effectmod parser work.
This commit is contained in:
@@ -30,6 +30,7 @@ public class EffectsParser {
|
||||
private static final Pattern SOURCE_REGEX = Pattern.compile("(?<=SOURCEBEGIN)(.+?)(?=SOURCEEND)", Pattern.DOTALL);
|
||||
private static final Pattern MODS_REGEX = Pattern.compile("(?<=MODSBEGIN)(.+?)(?=MODSEND)", Pattern.DOTALL);
|
||||
private static final Pattern STRSPLIT_REGEX = Pattern.compile("([^\"]\\S*|\"[^\"]*\")\\s*");
|
||||
|
||||
public static void init() throws IOException {
|
||||
|
||||
byte[] fileData = Files.readAllBytes(Paths.get(EffectsPath));
|
||||
|
||||
Reference in New Issue
Block a user