mirror of
https://github.com/Xiao-MoMi/Custom-Crops.git
synced 2025-12-29 11:59:15 +00:00
add an async option
This commit is contained in:
@@ -94,6 +94,8 @@ public abstract class ConfigManager implements ConfigLoader, Reloadable {
|
||||
protected boolean worldeditSupport = false;
|
||||
protected boolean interveneAntiGrief = false;
|
||||
|
||||
protected boolean asyncWorldSaving = true;
|
||||
|
||||
public ConfigManager(BukkitCustomCropsPlugin plugin) {
|
||||
this.plugin = plugin;
|
||||
instance = this;
|
||||
@@ -167,6 +169,10 @@ public abstract class ConfigManager implements ConfigLoader, Reloadable {
|
||||
return instance.doubleCheck;
|
||||
}
|
||||
|
||||
public static boolean asyncWorldSaving() {
|
||||
return instance.asyncWorldSaving;
|
||||
}
|
||||
|
||||
public static Set<String> scarecrow() {
|
||||
return instance.scarecrow;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user