Removes death sum setting.

This commit is contained in:
tastybento 2019-06-08 09:11:40 -07:00 committed by tastybento
parent f63680285b
commit ac86ac60cc
2 changed files with 0 additions and 27 deletions

View File

@ -281,9 +281,6 @@ public class Settings implements WorldSettings {
@ConfigEntry(path = "island.deaths.max")
private int deathsMax = 10;
@ConfigEntry(path = "island.deaths.sum-team")
private boolean deathsSumTeam = false;
@ConfigComment("When a player joins a team, reset their death count")
@ConfigEntry(path = "island.deaths.team-join-reset")
private boolean teamJoinDeathReset = true;
@ -666,14 +663,6 @@ public class Settings implements WorldSettings {
return deathsMax;
}
/**
* @return the deathsSumTeam
*/
@Override
public boolean isDeathsSumTeam() {
return deathsSumTeam;
}
/**
* @return the teamJoinDeathReset
*/
@ -994,13 +983,6 @@ public class Settings implements WorldSettings {
this.deathsMax = deathsMax;
}
/**
* @param deathsSumTeam the deathsSumTeam to set
*/
public void setDeathsSumTeam(boolean deathsSumTeam) {
this.deathsSumTeam = deathsSumTeam;
}
/**
* @param teamJoinDeathReset the teamJoinDeathReset to set
*/

View File

@ -390,15 +390,6 @@ public class SettingsTest {
assertEquals(123, s.getDeathsMax());
}
/**
* Test method for {@link world.bentobox.bskyblock.Settings#setDeathsSumTeam(boolean)}.
*/
@Test
public void testSetDeathsSumTeam() {
s.setDeathsSumTeam(true);
assertTrue(s.isDeathsSumTeam());
}
/**
* Test method for {@link world.bentobox.bskyblock.Settings#setTeamJoinDeathReset(boolean)}.
*/