Skip to content

Commit

Permalink
Fixing load async issues
Browse files Browse the repository at this point in the history
  • Loading branch information
GaetanOff committed Jul 30, 2021
1 parent c632b46 commit ef755c9
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion com/gaetan/staffpin/StaffPlugin.java
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
import java.util.concurrent.ExecutorService;
import java.util.concurrent.Executors;

@GaetanApplication(name = "StaffPin", authors = "GaetanOff", version = "1.1", main = "com.gaetan.staffpin.StaffPlugin", depend = "")
@GaetanApplication(name = "StaffPin", authors = "GaetanOff", version = "1.1.1", main = "com.gaetan.staffpin.StaffPlugin", depend = "")
public final class StaffPlugin extends SimplePlugin {
/**
* Map to stock the PayerData
Expand Down
2 changes: 1 addition & 1 deletion com/gaetan/staffpin/data/PlayerData.java
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ public PlayerData(final Player player, final StaffPlugin staffPlugin, final Conf
@Asynchrone
private void save() {
if (this.configManager.isAsyncSave())
new SavePlayerConfig(this.staffPlugin, this);
new SavePlayerConfig(this.staffPlugin, this).run();
else
TaskUtil.run(new SavePlayerConfig(this.staffPlugin, this));
}
Expand Down
2 changes: 1 addition & 1 deletion plugin.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
name: StaffPin
author: Gaetan_Off
website: https://github.com/GaetanOff/StaffPin
version: 1.1-SNAPSHOT
version: 1.1.1-SNAPSHOT
main: com.gaetan.staffpin.StaffPlugin

0 comments on commit ef755c9

Please sign in to comment.