Skip to content

Commit

Permalink
fixed wordings
Browse files Browse the repository at this point in the history
  • Loading branch information
hannibal002 committed Nov 25, 2023
1 parent dfdf589 commit 8615ad0
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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);

Expand Down
4 changes: 2 additions & 2 deletions src/main/java/at/hannibal2/skyhanni/utils/BlockUtils.kt
Original file line number Diff line number Diff line change
Expand Up @@ -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
)
}

0 comments on commit 8615ad0

Please sign in to comment.