mirror of
https://github.com/DRE2N/DungeonsXL.git
synced 2024-11-24 19:45:43 +01:00
Don't load CaliburnAPI if the server is < 1.9; resolves #92
This commit is contained in:
parent
5310a9ceca
commit
45dc39b6e1
2
pom.xml
2
pom.xml
@ -2,7 +2,7 @@
|
||||
<modelVersion>4.0.0</modelVersion>
|
||||
<groupId>io.github.dre2n</groupId>
|
||||
<artifactId>dungeonsxl</artifactId>
|
||||
<version>0.12${buildNo}</version>
|
||||
<version>0.12.1-SNAPSHOT${buildNo}</version>
|
||||
<packaging>jar</packaging>
|
||||
<name>DungeonsXL</name>
|
||||
<url>https://dre2n.github.io</url>
|
||||
|
@ -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();
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user