From cb62e10474ac7c5aacb52d6cd04095e65051c060 Mon Sep 17 00:00:00 2001 From: Obsidian <108832807+Obsidianninja11@users.noreply.github.com> Date: Sat, 9 Mar 2024 23:48:10 -0900 Subject: Fixed typos (#1133) --- .../config/features/garden/pests/PestFinderConfig.java | 2 +- .../skyhanni/features/garden/farming/FarmingWeightDisplay.kt | 2 +- .../hannibal2/skyhanni/features/garden/pests/PestFinder.kt | 12 ++++++------ 3 files changed, 8 insertions(+), 8 deletions(-) (limited to 'src/main/java/at/hannibal2/skyhanni') diff --git a/src/main/java/at/hannibal2/skyhanni/config/features/garden/pests/PestFinderConfig.java b/src/main/java/at/hannibal2/skyhanni/config/features/garden/pests/PestFinderConfig.java index cff428910..f76190328 100644 --- a/src/main/java/at/hannibal2/skyhanni/config/features/garden/pests/PestFinderConfig.java +++ b/src/main/java/at/hannibal2/skyhanni/config/features/garden/pests/PestFinderConfig.java @@ -23,7 +23,7 @@ public class PestFinderConfig { @Expose @ConfigOption( name = "Show Plot in World", - desc = "Mark infected plot names and world border in the world." + desc = "Mark infested plot names and world border in the world." ) @ConfigEditorBoolean @FeatureToggle diff --git a/src/main/java/at/hannibal2/skyhanni/features/garden/farming/FarmingWeightDisplay.kt b/src/main/java/at/hannibal2/skyhanni/features/garden/farming/FarmingWeightDisplay.kt index a4d5959b0..ebcda2824 100644 --- a/src/main/java/at/hannibal2/skyhanni/features/garden/farming/FarmingWeightDisplay.kt +++ b/src/main/java/at/hannibal2/skyhanni/features/garden/farming/FarmingWeightDisplay.kt @@ -179,7 +179,7 @@ class FarmingWeightDisplay { val list = mutableListOf() list.add(Renderable.clickAndHover( "§6Farming Weight§7: $weight$leaderboard", - listOf("§eClick to open the Farming Profile of you.") + listOf("§eClick to open your Farming Profile.") ) { openWebsite(LorenzUtils.getPlayerName()) }) diff --git a/src/main/java/at/hannibal2/skyhanni/features/garden/pests/PestFinder.kt b/src/main/java/at/hannibal2/skyhanni/features/garden/pests/PestFinder.kt index 976dc7ad7..ebf293098 100644 --- a/src/main/java/at/hannibal2/skyhanni/features/garden/pests/PestFinder.kt +++ b/src/main/java/at/hannibal2/skyhanni/features/garden/pests/PestFinder.kt @@ -179,11 +179,11 @@ class PestFinder { } } - private fun getNearestInfectedPest() = getPlotsWithPests().minByOrNull { it.middle.distanceSqToPlayer() } + private fun getNearestInfestedPest() = getPlotsWithPests().minByOrNull { it.middle.distanceSqToPlayer() } private fun removeNearestPest() { - val plot = getNearestInfectedPest() ?: run { - ChatUtils.error("Can not remove nearest pest: No infected plots detected.") + val plot = getNearestInfestedPest() ?: run { + ChatUtils.error("Can not remove nearest pest: No infested plots detected.") return } plot.pests-- @@ -238,13 +238,13 @@ class PestFinder { if (lastKeyPress.passedSince() < 2.seconds) return lastKeyPress = SimpleTimeMark.now() - val plot = getNearestInfectedPest() ?: run { - ChatUtils.userError("No infected plots detected to warp to!") + val plot = getNearestInfestedPest() ?: run { + ChatUtils.userError("No infested plots detected to warp to!") return } if (plot.isPlayerInside()) { - ChatUtils.userError("You stand already on the infected plot!") + ChatUtils.userError("You're already in an infested plot!") return } -- cgit