diff --git a/pom.xml b/pom.xml index 4fd34d65..afe1e87b 100644 --- a/pom.xml +++ b/pom.xml @@ -2,7 +2,7 @@ 4.0.0 io.github.dre2n dungeonsxl - 0.12${buildNo} + 0.12.1-SNAPSHOT${buildNo} jar DungeonsXL https://dre2n.github.io diff --git a/src/main/java/io/github/dre2n/dungeonsxl/DungeonsXL.java b/src/main/java/io/github/dre2n/dungeonsxl/DungeonsXL.java index bac7db28..72e6f556 100644 --- a/src/main/java/io/github/dre2n/dungeonsxl/DungeonsXL.java +++ b/src/main/java/io/github/dre2n/dungeonsxl/DungeonsXL.java @@ -23,6 +23,7 @@ import io.github.dre2n.caliburn.mob.MobCategories; import io.github.dre2n.caliburn.mob.Mobs; import io.github.dre2n.commons.command.BRCommands; import io.github.dre2n.commons.compatibility.Internals; +import io.github.dre2n.commons.compatibility.Version; import io.github.dre2n.commons.config.MessageConfig; import io.github.dre2n.commons.javaplugin.BRPlugin; import io.github.dre2n.commons.javaplugin.BRPluginSettings; @@ -141,7 +142,9 @@ public class DungeonsXL extends BRPlugin { super.onEnable(); instance = this; - loadCaliburnAPI(); + if (Version.andHigher(Version.MC1_9).contains(compat.getVersion())) { + loadCaliburnAPI(); + } initFolders();