Update whitelist when server is started
This commit is contained in:
parent
97c6556d2a
commit
b078a154f3
@ -94,6 +94,9 @@ public final class FlexConnect extends JavaPlugin {
|
|||||||
|
|
||||||
// Register file change listener
|
// Register file change listener
|
||||||
new FileChangeListener(this, "ops.json", "whitelist.json");
|
new FileChangeListener(this, "ops.json", "whitelist.json");
|
||||||
|
|
||||||
|
// Update whitelists for flexplex api
|
||||||
|
this.flexPlexGraphQLApi.updateWhitelist();
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user