diff options
| author | NopoTheGamer <40329022+NopoTheGamer@users.noreply.github.com> | 2024-08-02 23:38:35 +1000 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-08-02 15:38:35 +0200 |
| commit | d8e03fcbf5ae144f62c376a838a06b21afe2365c (patch) | |
| tree | bafb06e8bc2576d0d6976f2a36cafb72a53ff2ca | |
| parent | 31d39e793222ae0357232b567448e3d68bdf00be (diff) | |
| download | notenoughupdates-d8e03fcbf5ae144f62c376a838a06b21afe2365c.tar.gz notenoughupdates-d8e03fcbf5ae144f62c376a838a06b21afe2365c.tar.bz2 notenoughupdates-d8e03fcbf5ae144f62c376a838a06b21afe2365c.zip | |
Fix Mu Rabbit not giving its bonus in /pv (#1285)
| -rw-r--r-- | src/main/kotlin/io/github/moulberry/notenoughupdates/miscfeatures/profileviewer/HoppityPage.kt | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/src/main/kotlin/io/github/moulberry/notenoughupdates/miscfeatures/profileviewer/HoppityPage.kt b/src/main/kotlin/io/github/moulberry/notenoughupdates/miscfeatures/profileviewer/HoppityPage.kt index d02310ec..7f4b0d89 100644 --- a/src/main/kotlin/io/github/moulberry/notenoughupdates/miscfeatures/profileviewer/HoppityPage.kt +++ b/src/main/kotlin/io/github/moulberry/notenoughupdates/miscfeatures/profileviewer/HoppityPage.kt @@ -27,7 +27,12 @@ import io.github.moulberry.notenoughupdates.profileviewer.GuiProfileViewer import io.github.moulberry.notenoughupdates.profileviewer.GuiProfileViewerPage import io.github.moulberry.notenoughupdates.profileviewer.SkyblockProfiles import io.github.moulberry.notenoughupdates.profileviewer.data.APIDataJson -import io.github.moulberry.notenoughupdates.util.* +import io.github.moulberry.notenoughupdates.util.Constants +import io.github.moulberry.notenoughupdates.util.MC +import io.github.moulberry.notenoughupdates.util.PetLeveling +import io.github.moulberry.notenoughupdates.util.Utils +import io.github.moulberry.notenoughupdates.util.roundToDecimals +import io.github.moulberry.notenoughupdates.util.toRoman import net.minecraft.client.renderer.GlStateManager import net.minecraft.init.Blocks import net.minecraft.init.Items @@ -69,7 +74,7 @@ class HoppityPage(pvInstance: GuiProfileViewer) : GuiProfileViewerPage(pvInstanc private var lastActivationTime = 0L private var lastViewedChocolateFactory = 0L - private var muTimeTowerBonus = 0 + private var muTimeTowerBonus = 0f private var chocolateSpent = 0L @@ -620,7 +625,7 @@ class HoppityPage(pvInstance: GuiProfileViewer) : GuiProfileViewerPage(pvInstanc RabbitCollectionRarity.MYTHIC.chocolatePerSecond += 5 * foundMythicRabbits.size } if (mythic == "mu") { - muTimeTowerBonus + 0.7 + muTimeTowerBonus = 0.7f } val specialRabbit = specialRabbits.getAsJsonObject(mythic) |
