Alters the RegEx for replacing the plugin folder path
This commit is contained in:
@@ -464,7 +464,7 @@ public final class StargateConfig {
|
||||
*/
|
||||
@NotNull
|
||||
private String replacePluginFolderPath(@NotNull String input) {
|
||||
Pattern pattern = Pattern.compile("(?i)^plugins/Stargate");
|
||||
Pattern pattern = Pattern.compile("(?i)^plugins[\\\\\\/]Stargate");
|
||||
Matcher matcher = pattern.matcher(input);
|
||||
if (matcher.matches()) {
|
||||
return dataFolderPath + matcher.replaceAll("");
|
||||
|
Reference in New Issue
Block a user