use of com.sk89q.worldedit.session.storage.JsonFileSessionStore in project FastAsyncWorldEdit by IntellectualSites.
the class SessionManager method onConfigurationLoad.
@Subscribe
public void onConfigurationLoad(ConfigurationLoadEvent event) {
LocalConfiguration config = event.getConfiguration();
File dir = new File(config.getWorkingDirectoryPath().toFile(), "sessions");
store = new JsonFileSessionStore(dir);
}
Aggregations