mirror of
https://github.com/Auxilor/EcoEnchants.git
synced 2024-11-26 15:45:12 +01:00
Fixed Kingdoms integration
This commit is contained in:
parent
edfb1b40c7
commit
a626bda8bf
@ -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";
|
||||
}
|
||||
}
|
@ -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())) {
|
||||
|
Loading…
Reference in New Issue
Block a user