From 93c786301a9d30beb105fc1afb1918cf0fa64b07 Mon Sep 17 00:00:00 2001 From: Daniel Saukel Date: Tue, 7 Apr 2020 02:22:31 +0200 Subject: [PATCH] Add system property to bypass Paper async chunks check --- core/src/main/java/de/erethon/dungeonsxl/DungeonsXL.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/src/main/java/de/erethon/dungeonsxl/DungeonsXL.java b/core/src/main/java/de/erethon/dungeonsxl/DungeonsXL.java index db7965e0..3cfe7ed8 100644 --- a/core/src/main/java/de/erethon/dungeonsxl/DungeonsXL.java +++ b/core/src/main/java/de/erethon/dungeonsxl/DungeonsXL.java @@ -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")) {