From 8741e8259fe2539c45e4b3a16a22b53d9aeb8798 Mon Sep 17 00:00:00 2001 From: Luck Date: Sun, 18 Apr 2021 18:42:57 +0100 Subject: [PATCH] Fix commodore not working after dependency update --- .../java/me/lucko/luckperms/bukkit/LPBukkitPlugin.java | 1 + .../me/lucko/luckperms/common/dependencies/Dependency.java | 7 +++++++ 2 files changed, 8 insertions(+) diff --git a/bukkit/src/main/java/me/lucko/luckperms/bukkit/LPBukkitPlugin.java b/bukkit/src/main/java/me/lucko/luckperms/bukkit/LPBukkitPlugin.java index 0334d8df9..df390c145 100644 --- a/bukkit/src/main/java/me/lucko/luckperms/bukkit/LPBukkitPlugin.java +++ b/bukkit/src/main/java/me/lucko/luckperms/bukkit/LPBukkitPlugin.java @@ -125,6 +125,7 @@ public class LPBukkitPlugin extends AbstractLuckPermsPlugin { dependencies.add(Dependency.ADVENTURE_PLATFORM_BUKKIT); if (isBrigadierSupported()) { dependencies.add(Dependency.COMMODORE); + dependencies.add(Dependency.COMMODORE_FILE); } return dependencies; } diff --git a/common/src/main/java/me/lucko/luckperms/common/dependencies/Dependency.java b/common/src/main/java/me/lucko/luckperms/common/dependencies/Dependency.java index c0b77a446..12a1cb7b7 100644 --- a/common/src/main/java/me/lucko/luckperms/common/dependencies/Dependency.java +++ b/common/src/main/java/me/lucko/luckperms/common/dependencies/Dependency.java @@ -131,6 +131,13 @@ public enum Dependency { "EhaLLqbgPnVYa61RumUc7l3r6wcGg2edDh2+PR8pvHI=", Relocation.of("commodore", "me{}lucko{}commodore") ), + COMMODORE_FILE( + "me{}lucko", + "commodore-file", + "1.0", + "V9++dyp9RbzD4DLO2R9upF8Z8v5SWasyX8ocqYRAMow=", + Relocation.of("commodore", "me{}lucko{}commodore") + ), MARIADB_DRIVER( "org{}mariadb{}jdbc", "mariadb-java-client",