aboutsummaryrefslogtreecommitdiff
path: root/src/main/java
diff options
context:
space:
mode:
authorObsidian <108832807+Obsidianninja11@users.noreply.github.com>2024-03-09 23:48:10 -0900
committerGitHub <noreply@github.com>2024-03-10 09:48:10 +0100
commitcb62e10474ac7c5aacb52d6cd04095e65051c060 (patch)
tree57a8c7b049d4c88fa08a0e5191698e9d97010224 /src/main/java
parent24c424022ae4b9ded8909dda65820389c0bd933f (diff)
downloadskyhanni-cb62e10474ac7c5aacb52d6cd04095e65051c060.tar.gz
skyhanni-cb62e10474ac7c5aacb52d6cd04095e65051c060.tar.bz2
skyhanni-cb62e10474ac7c5aacb52d6cd04095e65051c060.zip
Fixed typos (#1133)
Diffstat (limited to 'src/main/java')
-rw-r--r--src/main/java/at/hannibal2/skyhanni/config/features/garden/pests/PestFinderConfig.java2
-rw-r--r--src/main/java/at/hannibal2/skyhanni/features/garden/farming/FarmingWeightDisplay.kt2
-rw-r--r--src/main/java/at/hannibal2/skyhanni/features/garden/pests/PestFinder.kt12
3 files changed, 8 insertions, 8 deletions
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<Renderable>()
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
}