From a626bda8bf812246299e24821576be0ef8475c40 Mon Sep 17 00:00:00 2001 From: Auxilor Date: Thu, 29 Oct 2020 16:38:33 +0000 Subject: [PATCH] Fixed Kingdoms integration --- .../{AntigriefKingdomsX.java => AntigriefKingdoms.java} | 4 ++-- .../src/main/java/com/willfp/ecoenchants/loader/Loader.java | 6 +++--- 2 files changed, 5 insertions(+), 5 deletions(-) rename Plugin/src/main/java/com/willfp/ecoenchants/integrations/antigrief/plugins/{AntigriefKingdomsX.java => AntigriefKingdoms.java} (95%) diff --git a/Plugin/src/main/java/com/willfp/ecoenchants/integrations/antigrief/plugins/AntigriefKingdomsX.java b/Plugin/src/main/java/com/willfp/ecoenchants/integrations/antigrief/plugins/AntigriefKingdoms.java similarity index 95% rename from Plugin/src/main/java/com/willfp/ecoenchants/integrations/antigrief/plugins/AntigriefKingdomsX.java rename to Plugin/src/main/java/com/willfp/ecoenchants/integrations/antigrief/plugins/AntigriefKingdoms.java index 7396dc97..2807e31e 100644 --- a/Plugin/src/main/java/com/willfp/ecoenchants/integrations/antigrief/plugins/AntigriefKingdomsX.java +++ b/Plugin/src/main/java/com/willfp/ecoenchants/integrations/antigrief/plugins/AntigriefKingdoms.java @@ -14,7 +14,7 @@ import org.kingdoms.constants.player.KingdomPlayer; import org.kingdoms.managers.PvPManager; import org.kingdoms.managers.land.LandManager; -public final class AntigriefKingdomsX implements AntigriefWrapper { +public final class AntigriefKingdoms implements AntigriefWrapper { private final LandManager landManager = new LandManager(); @Override @@ -58,6 +58,6 @@ public final class AntigriefKingdomsX implements AntigriefWrapper { @Override public String getPluginName() { - return "KingdomsX"; + return "Kingdoms"; } } diff --git a/Plugin/src/main/java/com/willfp/ecoenchants/loader/Loader.java b/Plugin/src/main/java/com/willfp/ecoenchants/loader/Loader.java index b3b99e73..ec95b9da 100644 --- a/Plugin/src/main/java/com/willfp/ecoenchants/loader/Loader.java +++ b/Plugin/src/main/java/com/willfp/ecoenchants/loader/Loader.java @@ -338,10 +338,10 @@ public class Loader { Logger.info("GriefPrevention: §9DISABLED"); } - if(AntigriefManager.registerIfPresent(new AntigriefKingdomsX())) { - Logger.info("KingdomsX: §aENABLED"); + if(AntigriefManager.registerIfPresent(new AntigriefKingdoms())) { + Logger.info("Kingdoms: §aENABLED"); } else { - Logger.info("KingdomsX: §9DISABLED"); + Logger.info("Kingdoms: §9DISABLED"); } if(AntigriefManager.registerIfPresent(new AntigriefLands())) {