Skip to content

Commit

Permalink
fix: Fixes issue where data cannot reload
Browse files Browse the repository at this point in the history
  • Loading branch information
blank038 committed Oct 20, 2024
1 parent 30b4ad3 commit 475c2fd
Showing 1 changed file with 6 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -90,13 +90,13 @@ public void loadConfig(boolean start) {
storageHandler.reload();
// Initialize economy
BaseEconomy.initEconomies();
// Initialize DataContainer
DataContainer.loadData();
// register service
ConfigurationSection section = this.getConfig().getConfigurationSection("notify-option");
String serviceType = section.getString("use", "self");
ServerMarketApi.createService(serviceType, section.getConfigurationSection("type." + serviceType));
}
// Initialize DataContainer
DataContainer.loadData();
// register service
ConfigurationSection section = this.getConfig().getConfigurationSection("notify-option");
String serviceType = section.getString("use", "self");
ServerMarketApi.createService(serviceType, section.getConfigurationSection("type." + serviceType));
// restart the task for offline transaction
OfflineTransactionTask.restart();

Expand Down

0 comments on commit 475c2fd

Please sign in to comment.