From 8615ad039d3d2213088afc67ca6491fff0d31cad Mon Sep 17 00:00:00 2001 From: hannibal2 <24389977+hannibal00212@users.noreply.github.com> Date: Sat, 25 Nov 2023 13:57:23 +0100 Subject: fixed wordings --- .../at/hannibal2/skyhanni/config/features/misc/TrackerConfig.java | 2 +- src/main/java/at/hannibal2/skyhanni/utils/BlockUtils.kt | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) (limited to 'src/main/java/at') 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 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 ) } -- cgit