aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/at
diff options
context:
space:
mode:
authorhannibal2 <24389977+hannibal00212@users.noreply.github.com>2023-11-25 13:57:23 +0100
committerhannibal2 <24389977+hannibal00212@users.noreply.github.com>2023-11-25 13:57:23 +0100
commit8615ad039d3d2213088afc67ca6491fff0d31cad (patch)
treed37c04037466707bad73cd361e04f8619dcfd138 /src/main/java/at
parentdfdf589f0617b08828ac93d751450f701460c597 (diff)
downloadskyhanni-8615ad039d3d2213088afc67ca6491fff0d31cad.tar.gz
skyhanni-8615ad039d3d2213088afc67ca6491fff0d31cad.tar.bz2
skyhanni-8615ad039d3d2213088afc67ca6491fff0d31cad.zip
fixed wordings
Diffstat (limited to 'src/main/java/at')
-rw-r--r--src/main/java/at/hannibal2/skyhanni/config/features/misc/TrackerConfig.java2
-rw-r--r--src/main/java/at/hannibal2/skyhanni/utils/BlockUtils.kt4
2 files changed, 3 insertions, 3 deletions
diff --git a/src/main/java/at/hannibal2/skyhanni/config/features/misc/TrackerConfig.java b/src/main/java/at/hannibal2/skyhanni/config/features/misc/TrackerConfig.java
index a8f76cad1..613adde60 100644
--- a/src/main/java/at/hannibal2/skyhanni/config/features/misc/TrackerConfig.java
+++ b/src/main/java/at/hannibal2/skyhanni/config/features/misc/TrackerConfig.java
@@ -20,7 +20,7 @@ public class TrackerConfig {
public int priceFrom = 1;
@Expose
- @ConfigOption(name = "Default Display Mode", desc = "Change the display mode that gets shown when starting.")
+ @ConfigOption(name = "Default Display Mode", desc = "Change the display mode that gets shown on default.")
@ConfigEditorDropdown
public Property<SkyHanniTracker.DefaultDisplayMode> defaultDisplayMode = Property.of(SkyHanniTracker.DefaultDisplayMode.REMEMBER_LAST);
diff --git a/src/main/java/at/hannibal2/skyhanni/utils/BlockUtils.kt b/src/main/java/at/hannibal2/skyhanni/utils/BlockUtils.kt
index 9bc353820..5b8c8a0c0 100644
--- a/src/main/java/at/hannibal2/skyhanni/utils/BlockUtils.kt
+++ b/src/main/java/at/hannibal2/skyhanni/utils/BlockUtils.kt
@@ -48,9 +48,9 @@ object BlockUtils {
return result?.blockPos?.toLorenzVec()
}
- fun getBlockLookingAt(duration: Double = 10.0) = rayTrace(
+ fun getBlockLookingAt(distance: Double = 10.0) = rayTrace(
LocationUtils.playerEyeLocation(),
Minecraft.getMinecraft().thePlayer.lookVec.toLorenzVec(),
- duration
+ distance
)
}