diff --git a/pom.xml b/pom.xml index d404a7e..99364a0 100644 --- a/pom.xml +++ b/pom.xml @@ -59,7 +59,7 @@ 2.0.2 1.14.4-R0.1-SNAPSHOT - 1.9.0-SNAPSHOT + 1.11.1-SNAPSHOT ${build.version}-SNAPSHOT diff --git a/src/main/java/world/bentobox/bskyblock/Settings.java b/src/main/java/world/bentobox/bskyblock/Settings.java index b8bc704..af40edc 100644 --- a/src/main/java/world/bentobox/bskyblock/Settings.java +++ b/src/main/java/world/bentobox/bskyblock/Settings.java @@ -374,6 +374,11 @@ public class Settings implements WorldSettings { @ConfigEntry(path = "protection.geo-limit-settings") private List geoLimitSettings = new ArrayList<>(); + @ConfigComment("Restricted mobs.") + @ConfigComment("Mobs that should never be spawned in the game.") + @ConfigEntry(path = "protection.mob-limit-settings") + private List mobLimitSettings = new ArrayList<>(); + // Invincible visitor settings @ConfigComment("Invincible visitors. List of damages that will not affect visitors.") @ConfigComment("Make list blank if visitors should receive all damages") @@ -796,6 +801,14 @@ public class Settings implements WorldSettings { public List getGeoLimitSettings() { return geoLimitSettings; } + + /** + * @return the geoLimitSettings + */ + @Override + public List getMobLimitSettings() { + return mobLimitSettings; + } /** * @return the ivSettings @@ -1138,6 +1151,13 @@ public class Settings implements WorldSettings { public void setGeoLimitSettings(List geoLimitSettings) { this.geoLimitSettings = geoLimitSettings; } + + /** + * @param mobLimitSettings the mobLimitSettings to set + */ + public void setMobLimitSettings(List mobLimitSettings) { + this.mobLimitSettings = mobLimitSettings; + } /** * @param ivSettings the ivSettings to set