Fixed Kingdoms integration

This commit is contained in:
Auxilor 2020-10-29 16:38:33 +00:00
parent edfb1b40c7
commit a626bda8bf
2 changed files with 5 additions and 5 deletions

View File

@ -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";
}
}

View File

@ -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())) {