mirror of
https://github.com/BentoBoxWorld/BSkyBlock.git
synced 2024-11-13 10:24:05 +01:00
Removes death sum setting.
This commit is contained in:
parent
2dcdece3f3
commit
6f2d3d0f5e
@ -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
|
||||
*/
|
||||
|
@ -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)}.
|
||||
*/
|
||||
|
Loading…
Reference in New Issue
Block a user