From b2aa604419411b0fdcb1b3ca77996c65c2c32085 Mon Sep 17 00:00:00 2001 From: tastybento Date: Fri, 7 Jun 2019 22:19:41 -0700 Subject: [PATCH] Cleans up kicked-keep-inventory config setting. https://github.com/BentoBoxWorld/BentoBox/issues/738 --- src/main/java/world/bentobox/bskyblock/Settings.java | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/main/java/world/bentobox/bskyblock/Settings.java b/src/main/java/world/bentobox/bskyblock/Settings.java index 6ee2419..7fdff0a 100644 --- a/src/main/java/world/bentobox/bskyblock/Settings.java +++ b/src/main/java/world/bentobox/bskyblock/Settings.java @@ -221,8 +221,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 island leader if the") - @ConfigComment("kicked player is online and in the island world.") + @ConfigComment("Overrides the on-leave inventory reset for kicked players.") @ConfigEntry(path = "island.reset.kicked-keep-inventory") private boolean kickedKeepInventory = false; @@ -558,6 +557,7 @@ public class Settings implements WorldSettings { /** * @return the leaversLoseReset */ + @Override public boolean isLeaversLoseReset() { return leaversLoseReset; } @@ -565,6 +565,7 @@ public class Settings implements WorldSettings { /** * @return the kickedKeepInventory */ + @Override public boolean isKickedKeepInventory() { return kickedKeepInventory; } @@ -668,6 +669,7 @@ public class Settings implements WorldSettings { /** * @return the deathsSumTeam */ + @Override public boolean isDeathsSumTeam() { return deathsSumTeam; }