Update whitelist when server is started

This commit is contained in:
Jonttuuu 2022-05-04 12:55:51 +03:00
parent 97c6556d2a
commit b078a154f3

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();
}
}