mirror of
https://github.com/BentoBoxWorld/AcidIsland.git
synced 2025-03-12 14:49:11 +01:00
Cleans up kicked-keep-inventory config setting.
https://github.com/BentoBoxWorld/BentoBox/issues/738
This commit is contained in:
parent
e516fe5631
commit
f230715625
@ -303,8 +303,7 @@ public class AISettings implements WorldSettings {
|
|||||||
private boolean leaversLoseReset = false;
|
private boolean leaversLoseReset = false;
|
||||||
|
|
||||||
@ConfigComment("Allow kicked players to keep their inventory.")
|
@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("Overrides the on-leave inventory reset for kicked players.")
|
||||||
@ConfigComment("kicked player is online and in the island world.")
|
|
||||||
@ConfigEntry(path = "island.reset.kicked-keep-inventory")
|
@ConfigEntry(path = "island.reset.kicked-keep-inventory")
|
||||||
private boolean kickedKeepInventory = false;
|
private boolean kickedKeepInventory = false;
|
||||||
|
|
||||||
@ -713,6 +712,7 @@ public class AISettings implements WorldSettings {
|
|||||||
/**
|
/**
|
||||||
* @return the deathsSumTeam
|
* @return the deathsSumTeam
|
||||||
*/
|
*/
|
||||||
|
@Override
|
||||||
public boolean isDeathsSumTeam() {
|
public boolean isDeathsSumTeam() {
|
||||||
return deathsSumTeam;
|
return deathsSumTeam;
|
||||||
}
|
}
|
||||||
@ -752,12 +752,14 @@ public class AISettings implements WorldSettings {
|
|||||||
/**
|
/**
|
||||||
* @return the kickedKeepInventory
|
* @return the kickedKeepInventory
|
||||||
*/
|
*/
|
||||||
|
@Override
|
||||||
public boolean isKickedKeepInventory() {
|
public boolean isKickedKeepInventory() {
|
||||||
return kickedKeepInventory;
|
return kickedKeepInventory;
|
||||||
}
|
}
|
||||||
/**
|
/**
|
||||||
* @return the leaversLoseReset
|
* @return the leaversLoseReset
|
||||||
*/
|
*/
|
||||||
|
@Override
|
||||||
public boolean isLeaversLoseReset() {
|
public boolean isLeaversLoseReset() {
|
||||||
return leaversLoseReset;
|
return leaversLoseReset;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user