Update whitelist when server is started

master
Jonttuuu 2022-05-04 12:55:51 +03:00
parent 97c6556d2a
commit b078a154f3
1 changed files with 3 additions and 0 deletions

View File

@ -94,6 +94,9 @@ public final class FlexConnect extends JavaPlugin {
// Register file change listener
new FileChangeListener(this, "ops.json", "whitelist.json");
// Update whitelists for flexplex api
this.flexPlexGraphQLApi.updateWhitelist();
}
}