Skip to content

Commit

Permalink
Apply suggestions from code review
Browse files Browse the repository at this point in the history
  • Loading branch information
kevinthegreat1 authored Sep 15, 2024
1 parent aaae4dc commit 7fec399
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 @@ -167,7 +167,7 @@ private boolean shouldShowPacketSizeAndPingCharts(DebugHud instance, Operation<B
if (Utils.isOnSkyblock()) {
return true;
}
return original.call(instance);
return original.call(instance);

}
}
4 changes: 2 additions & 2 deletions src/main/java/de/hysky/skyblocker/skyblock/SmoothAOTE.java
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ private static int extractTunedCustomData(NbtCompound customData, int baseRange)
}

/**
* When an item is right-clicked send of to calculate teleport with the clicked item
* When an item is right-clicked send off to calculate teleport with the clicked item
*
* @param playerEntity player
* @param world world
Expand Down Expand Up @@ -363,7 +363,7 @@ private static Vec3d raycast(int distance, Vec3d direction, Vec3d startPos) {
//check if the block at head height is free
if (!canTeleportThrough(checkPos.up())) {
if (offset == 0) {
//cancel the check if starting height is to low
//cancel the check if starting height is too low
Vec3d justAhead = startPos.add(direction.multiply(0.2));
if ((justAhead.getY() - Math.floor(justAhead.getY())) <= 0.495) {
continue;
Expand Down

0 comments on commit 7fec399

Please sign in to comment.