mirror of
https://github.com/IntellectualSites/PlotSquared.git
synced 2024-11-22 21:26:45 +01:00
forgot to find
This commit is contained in:
parent
7dcecf486d
commit
f1b8510708
@ -74,6 +74,7 @@ public class Configuration {
|
|||||||
final String[] parts = string.split(",(?![^\\(\\[]*[\\]\\)])");
|
final String[] parts = string.split(",(?![^\\(\\[]*[\\]\\)])");
|
||||||
for (final String part : parts) {
|
for (final String part : parts) {
|
||||||
Matcher matcher = pattern.matcher(part);
|
Matcher matcher = pattern.matcher(part);
|
||||||
|
matcher.find();
|
||||||
String namespace = matcher.group("namespace");
|
String namespace = matcher.group("namespace");
|
||||||
String block = matcher.group("block");
|
String block = matcher.group("block");
|
||||||
String chanceStr = matcher.group("chance");
|
String chanceStr = matcher.group("chance");
|
||||||
@ -101,6 +102,7 @@ public class Configuration {
|
|||||||
final String[] parts = string.split(",(?![^\\(\\[]*[\\]\\)])");
|
final String[] parts = string.split(",(?![^\\(\\[]*[\\]\\)])");
|
||||||
for (final String part : parts) {
|
for (final String part : parts) {
|
||||||
Matcher matcher = pattern.matcher(part);
|
Matcher matcher = pattern.matcher(part);
|
||||||
|
matcher.find();
|
||||||
String namespace = matcher.group("namespace");
|
String namespace = matcher.group("namespace");
|
||||||
String block = matcher.group("block");
|
String block = matcher.group("block");
|
||||||
String chanceStr = matcher.group("chance");
|
String chanceStr = matcher.group("chance");
|
||||||
|
Loading…
Reference in New Issue
Block a user