mirror of
https://github.com/boy0001/FastAsyncWorldedit.git
synced 2024-11-16 23:55:27 +01:00
Updating option
This commit is contained in:
parent
158ed391b4
commit
5a914513b9
@ -237,6 +237,7 @@ public class Fawe {
|
|||||||
}
|
}
|
||||||
}, 0);
|
}, 0);
|
||||||
|
|
||||||
|
if (Settings.UPDATE) {
|
||||||
// Delayed updating
|
// Delayed updating
|
||||||
TaskManager.IMP.async(new Runnable() {
|
TaskManager.IMP.async(new Runnable() {
|
||||||
@Override
|
@Override
|
||||||
@ -245,6 +246,7 @@ public class Fawe {
|
|||||||
}
|
}
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
private boolean isJava8 = MainUtil.getJavaVersion() >= 1.8;
|
private boolean isJava8 = MainUtil.getJavaVersion() >= 1.8;
|
||||||
|
|
||||||
|
@ -24,6 +24,8 @@ public class Settings extends Config {
|
|||||||
@Final
|
@Final
|
||||||
public static String PLATFORM = null; // These values are set from FAWE before loading
|
public static String PLATFORM = null; // These values are set from FAWE before loading
|
||||||
|
|
||||||
|
@Comment("Allow the plugin to update")
|
||||||
|
public static boolean UPDATE = true;
|
||||||
@Comment("Send anonymous usage statistics to MCStats.org")
|
@Comment("Send anonymous usage statistics to MCStats.org")
|
||||||
public static boolean METRICS = true;
|
public static boolean METRICS = true;
|
||||||
@Comment("FAWE will skip chunks when there's not enough memory available")
|
@Comment("FAWE will skip chunks when there's not enough memory available")
|
||||||
|
Loading…
Reference in New Issue
Block a user