mirror of
https://github.com/BGHDDevelopment/PlayerBalancer.git
synced 2024-11-05 02:19:48 +01:00
Principal sections can have a parent, meaning they can inherit the provider from it
This commit is contained in:
parent
3ca6a21a31
commit
f06f8f0920
@ -103,7 +103,7 @@ public class ServerSection {
|
||||
e.printStackTrace();
|
||||
}
|
||||
} else {
|
||||
if (principal) {
|
||||
if (principal && parent == null) {
|
||||
throw new IllegalArgumentException(String.format("The principal section \"%s\" does not have a provider set", name));
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user