aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/de/hysky/skyblocker/skyblock
diff options
context:
space:
mode:
Diffstat (limited to 'src/main/java/de/hysky/skyblocker/skyblock')
-rw-r--r--src/main/java/de/hysky/skyblocker/skyblock/dwarven/CrystalsLocationsManager.java2
-rw-r--r--src/main/java/de/hysky/skyblocker/skyblock/dwarven/WishingCompassSolver.java4
2 files changed, 3 insertions, 3 deletions
diff --git a/src/main/java/de/hysky/skyblocker/skyblock/dwarven/CrystalsLocationsManager.java b/src/main/java/de/hysky/skyblocker/skyblock/dwarven/CrystalsLocationsManager.java
index d6debae5..f9fafc2a 100644
--- a/src/main/java/de/hysky/skyblocker/skyblock/dwarven/CrystalsLocationsManager.java
+++ b/src/main/java/de/hysky/skyblocker/skyblock/dwarven/CrystalsLocationsManager.java
@@ -176,7 +176,7 @@ public class CrystalsLocationsManager {
for (String waypointLocation : WAYPOINT_LOCATIONS.keySet()) {
int locationColor = WAYPOINT_LOCATIONS.get(waypointLocation).getColor();
- text.append(Text.literal("[" + waypointLocation + "]").withColor(locationColor).styled(style -> style.withClickEvent(new ClickEvent(ClickEvent.Action.RUN_COMMAND, "/skyblocker crystalWaypoints add" + waypointLocation + " " + location))));
+ text.append(Text.literal("[" + waypointLocation + "]").withColor(locationColor).styled(style -> style.withClickEvent(new ClickEvent(ClickEvent.Action.RUN_COMMAND, "/skyblocker crystalWaypoints add " + location + " " + waypointLocation))));
}
return text;
diff --git a/src/main/java/de/hysky/skyblocker/skyblock/dwarven/WishingCompassSolver.java b/src/main/java/de/hysky/skyblocker/skyblock/dwarven/WishingCompassSolver.java
index ce1fdf55..338012e7 100644
--- a/src/main/java/de/hysky/skyblocker/skyblock/dwarven/WishingCompassSolver.java
+++ b/src/main/java/de/hysky/skyblocker/skyblock/dwarven/WishingCompassSolver.java
@@ -57,7 +57,7 @@ public class WishingCompassSolver {
/**
* how many particles to use to get direction of a line
*/
- private static final long PARTICLES_PER_LINE = 25;
+ private static final long PARTICLES_PER_LINE = 50;
/**
* the amount of milliseconds to wait for the next particle until assumed failed
*/
@@ -65,7 +65,7 @@ public class WishingCompassSolver {
/**
* the distance the player has to be from where they used the first compass to where they use the second
*/
- private static final long DISTANCE_BETWEEN_USES = 32;
+ private static final long DISTANCE_BETWEEN_USES = 8;
private static SolverStates currentState = SolverStates.NOT_STARTED;
private static Vec3d startPosOne = Vec3d.ZERO;