Skip to content

Commit

Permalink
Clarifies kicked-keep-inventory config setting.
Browse files Browse the repository at this point in the history
  • Loading branch information
tastybento committed Jun 8, 2019
1 parent 280a521 commit 9525d58
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions src/main/java/world/bentobox/skygrid/Settings.java
Original file line number Diff line number Diff line change
Expand Up @@ -201,8 +201,7 @@ public class Settings implements WorldSettings {
private boolean leaversLoseReset = false;

@ConfigComment("Allow kicked players to keep their inventory.")
@ConfigComment("If false, kicked player's inventory will be thrown at the leader if the")
@ConfigComment("kicked player is online and in the world.")
@ConfigComment("Overrides the on-leave inventory reset for kicked players.")
@ConfigEntry(path = "area.reset.kicked-keep-inventory")
private boolean kickedKeepInventory = false;

Expand Down Expand Up @@ -709,6 +708,7 @@ public void setResetLimit(int resetLimit) {
/**
* @return the leaversLoseReset
*/
@Override
public boolean isLeaversLoseReset() {
return leaversLoseReset;
}
Expand All @@ -723,6 +723,7 @@ public void setLeaversLoseReset(boolean leaversLoseReset) {
/**
* @return the kickedKeepInventory
*/
@Override
public boolean isKickedKeepInventory() {
return kickedKeepInventory;
}
Expand Down Expand Up @@ -917,6 +918,7 @@ public void setDeathsMax(int deathsMax) {
/**
* @return the deathsSumTeam
*/
@Override
public boolean isDeathsSumTeam() {
return deathsSumTeam;
}
Expand Down

0 comments on commit 9525d58

Please sign in to comment.