From 725842c0a5aec213f66d84a597c1f42d64f3041c Mon Sep 17 00:00:00 2001 From: Daniel Scherf Date: Wed, 4 Sep 2024 15:19:56 +0200 Subject: [PATCH] Add missing Apache Commons 2.x dependency --- build.gradle.kts | 1 + .../com/iridium/iridiumskyblock/managers/SchematicManager.java | 1 - 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/build.gradle.kts b/build.gradle.kts index 98d3f1426..2105468ac 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -26,6 +26,7 @@ dependencies { implementation("com.j256.ormlite:ormlite-core:6.1") implementation("com.j256.ormlite:ormlite-jdbc:6.1") implementation("com.iridium:IridiumTeams:2.5.8") + implementation("commons-lang:commons-lang:2.6") // Other dependencies that are not required or already available at runtime compileOnly("org.projectlombok:lombok:1.18.34") diff --git a/src/main/java/com/iridium/iridiumskyblock/managers/SchematicManager.java b/src/main/java/com/iridium/iridiumskyblock/managers/SchematicManager.java index 6586ed000..470f9bb55 100644 --- a/src/main/java/com/iridium/iridiumskyblock/managers/SchematicManager.java +++ b/src/main/java/com/iridium/iridiumskyblock/managers/SchematicManager.java @@ -32,7 +32,6 @@ public class SchematicManager { || Bukkit.getPluginManager().isPluginEnabled("AsyncWorldEdit"); public SchematicManager() { - availablePasters = new TreeMap<>(); availablePasters.put("internalAsync", new SchematicAsync()); if ((worldEdit) && WorldEdit.isWorking())