mirror of
https://github.com/DRE2N/DungeonsXL.git
synced 2024-11-28 05:26:29 +01:00
Add system property to bypass Paper async chunks check
This commit is contained in:
parent
4e7ccef5be
commit
93c786301a
@ -207,7 +207,7 @@ public class DungeonsXL extends DREPlugin implements DungeonsAPI {
|
||||
@Override
|
||||
public void onEnable() {
|
||||
super.onEnable();
|
||||
if (compat.isPaper() && Internals.andHigher(Internals.v1_14_R1).contains(compat.getInternals())) {
|
||||
if (compat.isPaper() && Internals.andHigher(Internals.v1_14_R1).contains(compat.getInternals()) && System.getProperty("XLDevMode") == null) {
|
||||
File paperFile = new File("paper.yml");
|
||||
FileConfiguration paperConfig = YamlConfiguration.loadConfiguration(paperFile);
|
||||
if (paperConfig.getBoolean("settings.async-chunks.enable")) {
|
||||
|
Loading…
Reference in New Issue
Block a user