Compile against MC 1.18.1 and Caliburn 1.0.3
This commit is contained in:
parent
9300febbfe
commit
a5ddd04771
|
@ -119,7 +119,7 @@ public class DungeonsXL extends DREPlugin implements DungeonsAPI {
|
||||||
public static final BlockAdapter BLOCK_ADAPTER = Version.isAtLeast(Version.MC1_13) ? new BlockAdapterBlockData() : new BlockAdapterMagicValues();
|
public static final BlockAdapter BLOCK_ADAPTER = Version.isAtLeast(Version.MC1_13) ? new BlockAdapterBlockData() : new BlockAdapterMagicValues();
|
||||||
|
|
||||||
/* Constants */
|
/* Constants */
|
||||||
public static final String LATEST_IXL = "1.0.2";
|
public static final String LATEST_IXL = "1.0.3";
|
||||||
public static final String[] EXCLUDED_FILES = {"config.yml", "uid.dat", "DXLData.data", "data"};
|
public static final String[] EXCLUDED_FILES = {"config.yml", "uid.dat", "DXLData.data", "data"};
|
||||||
|
|
||||||
/* Folders of internal features */
|
/* Folders of internal features */
|
||||||
|
@ -235,7 +235,7 @@ public class DungeonsXL extends DREPlugin implements DungeonsAPI {
|
||||||
public void onEnable() {
|
public void onEnable() {
|
||||||
super.onEnable();
|
super.onEnable();
|
||||||
String ixlVersion = manager.isPluginEnabled("ItemsXL") ? manager.getPlugin("ItemsXL").getDescription().getVersion() : "";
|
String ixlVersion = manager.isPluginEnabled("ItemsXL") ? manager.getPlugin("ItemsXL").getDescription().getVersion() : "";
|
||||||
if (ixlVersion.startsWith("0.") || ixlVersion.matches("1.0[\\.]?[1]?")) {
|
if (ixlVersion.startsWith("0.") || ixlVersion.matches("1.0[\\.]?[1-2]?")) {
|
||||||
getLogger().log(Level.SEVERE, "DungeonsXL requires ItemsXL v" + LATEST_IXL + " or higher to run.");
|
getLogger().log(Level.SEVERE, "DungeonsXL requires ItemsXL v" + LATEST_IXL + " or higher to run.");
|
||||||
manager.disablePlugin(this);
|
manager.disablePlugin(this);
|
||||||
return;
|
return;
|
||||||
|
|
4
pom.xml
4
pom.xml
|
@ -21,13 +21,13 @@
|
||||||
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
||||||
<maven.compiler.source>1.8</maven.compiler.source>
|
<maven.compiler.source>1.8</maven.compiler.source>
|
||||||
<maven.compiler.target>1.8</maven.compiler.target>
|
<maven.compiler.target>1.8</maven.compiler.target>
|
||||||
<spigotVersion.latest>1.17.1-R0.1-SNAPSHOT</spigotVersion.latest>
|
<spigotVersion.latest>1.18.1-R0.1-SNAPSHOT</spigotVersion.latest>
|
||||||
</properties>
|
</properties>
|
||||||
<dependencies>
|
<dependencies>
|
||||||
<dependency>
|
<dependency>
|
||||||
<groupId>de.erethon</groupId>
|
<groupId>de.erethon</groupId>
|
||||||
<artifactId>caliburn</artifactId>
|
<artifactId>caliburn</artifactId>
|
||||||
<version>1.0.2</version>
|
<version>1.0.3</version>
|
||||||
<scope>compile</scope>
|
<scope>compile</scope>
|
||||||
</dependency>
|
</dependency>
|
||||||
<dependency>
|
<dependency>
|
||||||
|
|
Loading…
Reference in New Issue