mirror of
https://github.com/Xiao-MoMi/Custom-Fishing.git
synced 2025-12-21 16:09:34 +00:00
Fix "|"
This commit is contained in:
@@ -996,7 +996,7 @@ public class BukkitConfigManager extends ConfigManager {
|
|||||||
return new ArrayList<>(intersection);
|
return new ArrayList<>(intersection);
|
||||||
} else if (groupExpression.contains("|")) {
|
} else if (groupExpression.contains("|")) {
|
||||||
Set<String> members = new HashSet<>();
|
Set<String> members = new HashSet<>();
|
||||||
String[] groups = groupExpression.split("&");
|
String[] groups = groupExpression.split("\\|");
|
||||||
for (String group : groups) {
|
for (String group : groups) {
|
||||||
members.addAll(groupProvider.apply(group));
|
members.addAll(groupProvider.apply(group));
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user