Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
tastybento committed Jan 28, 2020
1 parent b0c6499 commit 601f7ce
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 1 deletion.
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@
<powermock.version>2.0.2</powermock.version>
<!-- More visible way how to change dependency versions -->
<spigot.version>1.14.4-R0.1-SNAPSHOT</spigot.version>
<bentobox.version>1.9.0-SNAPSHOT</bentobox.version>
<bentobox.version>1.11.1-SNAPSHOT</bentobox.version>
<!-- Revision variable removes warning about dynamic version -->
<revision>${build.version}-SNAPSHOT</revision>
<!-- Do not change unless you want different name for local builds. -->
Expand Down
20 changes: 20 additions & 0 deletions src/main/java/world/bentobox/bskyblock/Settings.java
Original file line number Diff line number Diff line change
Expand Up @@ -374,6 +374,11 @@ public class Settings implements WorldSettings {
@ConfigEntry(path = "protection.geo-limit-settings")
private List<String> geoLimitSettings = new ArrayList<>();

@ConfigComment("Restricted mobs.")
@ConfigComment("Mobs that should never be spawned in the game.")
@ConfigEntry(path = "protection.mob-limit-settings")
private List<String> 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")
Expand Down Expand Up @@ -796,6 +801,14 @@ public boolean isTeamJoinDeathReset() {
public List<String> getGeoLimitSettings() {
return geoLimitSettings;
}

/**
* @return the geoLimitSettings
*/
@Override
public List<String> getMobLimitSettings() {
return mobLimitSettings;
}

/**
* @return the ivSettings
Expand Down Expand Up @@ -1138,6 +1151,13 @@ public void setTeamJoinDeathReset(boolean teamJoinDeathReset) {
public void setGeoLimitSettings(List<String> geoLimitSettings) {
this.geoLimitSettings = geoLimitSettings;
}

/**
* @param mobLimitSettings the mobLimitSettings to set
*/
public void setMobLimitSettings(List<String> mobLimitSettings) {
this.mobLimitSettings = mobLimitSettings;
}

/**
* @param ivSettings the ivSettings to set
Expand Down

0 comments on commit 601f7ce

Please sign in to comment.