Skip to content

Commit d4e1e59

Browse files
committed
Specify half-hearts for health
1 parent 1d99dc5 commit d4e1e59

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

common/src/main/kotlin/com/lambda/module/modules/combat/AutoDisconnect.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ object AutoDisconnect : Module(
4848
defaultTags = setOf(ModuleTag.COMBAT)
4949
) {
5050
private val health by setting("Health", true, "Disconnect from the server when health is below the set limit.")
51-
private val minimumHealth by setting("Min Health", 10, 6..36, 1, "Set the minimum health threshold for disconnection.", unit = " hearts") { health }
51+
private val minimumHealth by setting("Min Health", 10, 6..36, 1, "Set the minimum health threshold for disconnection.", unit = " half-hearts") { health }
5252
private val falls by setting("Falls", false, "Disconnect if the player will die of fall damage")
5353
private val fallDistance by setting("Falls Time", 10, 0..30, 1, "Number of blocks fallen before disconnecting for fall damage.", unit = " blocks") { falls }
5454
private val crystals by setting("Crystals", false, "Disconnect if an End Crystal explosion would be lethal.")

0 commit comments

Comments
 (0)