Compile against MC 1.18.1 and Caliburn 1.0.3

This commit is contained in:
Daniel Saukel 2022-01-08 23:11:53 +01:00
parent 9300febbfe
commit a5ddd04771
2 changed files with 4 additions and 4 deletions

View File

@ -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();
/* 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"};
/* Folders of internal features */
@ -235,7 +235,7 @@ 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.") || 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.");
manager.disablePlugin(this);
return;

View File

@ -21,13 +21,13 @@
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<maven.compiler.source>1.8</maven.compiler.source>
<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>
<dependencies>
<dependency>
<groupId>de.erethon</groupId>
<artifactId>caliburn</artifactId>
<version>1.0.2</version>
<version>1.0.3</version>
<scope>compile</scope>
</dependency>
<dependency>