From fca9a920ea16d5ff335f131c7bfd2ed9811b79cb Mon Sep 17 00:00:00 2001 From: Penal Buffalo Date: Mon, 1 Jul 2024 21:44:13 -0500 Subject: [PATCH] v4.0.6 b35 * add to deathcause enum: `CAMPFIRE` * fix typo in debug message --- gradle.properties | 2 +- .../levelledmobs/customdrops/CustomDropsHandler.kt | 2 +- .../io/github/arcaneplugins/levelledmobs/enums/DeathCause.kt | 1 + 3 files changed, 3 insertions(+), 2 deletions(-) diff --git a/gradle.properties b/gradle.properties index 039a507b5..231d96271 100644 --- a/gradle.properties +++ b/gradle.properties @@ -1,2 +1,2 @@ -version = 4.0.6 b34 +version = 4.0.6 b35 description = The Ultimate RPG Mob Levelling Solution \ No newline at end of file diff --git a/levelledmobs-plugin/src/main/kotlin/io/github/arcaneplugins/levelledmobs/customdrops/CustomDropsHandler.kt b/levelledmobs-plugin/src/main/kotlin/io/github/arcaneplugins/levelledmobs/customdrops/CustomDropsHandler.kt index fb7af5945..506430c80 100644 --- a/levelledmobs-plugin/src/main/kotlin/io/github/arcaneplugins/levelledmobs/customdrops/CustomDropsHandler.kt +++ b/levelledmobs-plugin/src/main/kotlin/io/github/arcaneplugins/levelledmobs/customdrops/CustomDropsHandler.kt @@ -764,7 +764,7 @@ class CustomDropsHandler { info.addDebugMessage( "&8 - &7item: &b${newItem.type.name}&7, amount: &b${dropBase.amountAsString}&7, newAmount: &b$newDropAmount&7, " + - "chance: &b{dropBase.chance?.showMatchedChance()}&7, chanceRole: " + + "chance: &b${dropBase.chance?.showMatchedChance()}&7, chanceRole: " + "&b${Utils.round(chanceRole.toDouble(), 4)}&7, dropped: &btrue&7$retryMsg." ) } diff --git a/levelledmobs-plugin/src/main/kotlin/io/github/arcaneplugins/levelledmobs/enums/DeathCause.kt b/levelledmobs-plugin/src/main/kotlin/io/github/arcaneplugins/levelledmobs/enums/DeathCause.kt index 030d024b3..6a12759f4 100644 --- a/levelledmobs-plugin/src/main/kotlin/io/github/arcaneplugins/levelledmobs/enums/DeathCause.kt +++ b/levelledmobs-plugin/src/main/kotlin/io/github/arcaneplugins/levelledmobs/enums/DeathCause.kt @@ -40,4 +40,5 @@ enum class DeathCause { VOID, WITHER, PLAYER_CAUSED, + CAMPFIRE } \ No newline at end of file