diff options
Diffstat (limited to 'src/main')
-rw-r--r-- | src/main/java/at/hannibal2/skyhanni/config/features/misc/TrackerConfig.java | 2 | ||||
-rw-r--r-- | src/main/java/at/hannibal2/skyhanni/utils/BlockUtils.kt | 4 |
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 ) } |