mirror of
https://github.com/DRE2N/DungeonsXL.git
synced 2024-11-28 05:26:29 +01:00
Link IXL 1.0; resolves #986
This commit is contained in:
parent
05af27a52d
commit
d130190d41
@ -39,7 +39,6 @@
|
||||
<configuration>
|
||||
<artifactSet>
|
||||
<includes>
|
||||
<include>de.erethon:caliburn</include>
|
||||
<include>de.erethon.commons:commons-dist</include>
|
||||
</includes>
|
||||
</artifactSet>
|
||||
@ -48,10 +47,6 @@
|
||||
<pattern>de.erethon.commons</pattern>
|
||||
<shadedPattern>de.erethon.dungeonsxl.util.commons</shadedPattern>
|
||||
</relocation>
|
||||
<relocation>
|
||||
<pattern>de.erethon.caliburn.util.compatibility</pattern>
|
||||
<shadedPattern>de.erethon.dungeonsxl.util.commons.compatibility</shadedPattern>
|
||||
</relocation>
|
||||
</relocations>
|
||||
</configuration>
|
||||
</execution>
|
||||
|
@ -117,8 +117,7 @@ public class DungeonsXL extends DREPlugin implements DungeonsAPI {
|
||||
public static final BlockAdapter BLOCK_ADAPTER = Version.isAtLeast(Version.MC1_13) ? new BlockAdapterBlockData() : new BlockAdapterMagicValues();
|
||||
|
||||
/* Constants */
|
||||
public static final String LATEST_CALIBURN = "1.0-RC-07";
|
||||
public static final String LATEST_IXL = "0.6.7";
|
||||
public static final String LATEST_IXL = "1.0";
|
||||
public static final String[] EXCLUDED_FILES = {"config.yml", "uid.dat", "DXLData.data", "data"};
|
||||
|
||||
/* Folders of internal features */
|
||||
@ -236,10 +235,8 @@ public class DungeonsXL extends DREPlugin implements DungeonsAPI {
|
||||
public void onEnable() {
|
||||
super.onEnable();
|
||||
String ixlVersion = manager.isPluginEnabled("ItemsXL") ? manager.getPlugin("ItemsXL").getDescription().getVersion() : "";
|
||||
if (ixlVersion.startsWith("0.[0-5]") || ixlVersion.equals("0.6") || ixlVersion.matches("0.6.[1-6]")) {
|
||||
getLogger().log(Level.SEVERE, "DungeonsXL includes v" + LATEST_CALIBURN + " of the Caliburn custom item library. ItemsXL must implement the same or a newer, "
|
||||
+ "but still compatible version of this library. This build of DungeonsXL is compatible with ItemsXL v" + LATEST_IXL
|
||||
+ " and, possibly, higher. The latest DXL and IXL versions available on SpigotMC.org should always be compatible with each other.");
|
||||
if (ixlVersion.startsWith("0.")) {
|
||||
getLogger().log(Level.SEVERE, "DungeonsXL requires ItemsXL v" + LATEST_IXL +" or higher to run.");
|
||||
manager.disablePlugin(this);
|
||||
return;
|
||||
}
|
||||
|
@ -4,6 +4,7 @@ version: ${project.parent.version}${buildNo}
|
||||
authors: [Frank Baumann, Milan Albrecht, Tobias Schmitz, Daniel Saukel]
|
||||
description: ${project.parent.description}
|
||||
website: ${project.parent.url}
|
||||
depend: [ItemsXL]
|
||||
softdepend: [CommandsXL, ItemsXL, Vault, Citizens, CustomMobs, InsaneMobs, MythicMobs, HolographicDisplays, LWC, PlaceholderAPI, Parties]
|
||||
commands:
|
||||
dungeonsxl:
|
||||
|
Loading…
Reference in New Issue
Block a user