aboutsummaryrefslogtreecommitdiff
path: root/src/main
diff options
context:
space:
mode:
authorCraftyOldMiner <85420839+CraftyOldMiner@users.noreply.github.com>2022-04-23 06:33:40 -0500
committerGitHub <noreply@github.com>2022-04-23 13:33:40 +0200
commit68b565d762c549bf5c1fe6bb2b57b14c37618a1e (patch)
tree9f22ba28a642bd9792e61aa16ddcdbf44582089a /src/main
parent15c0c229b51eebeab59031fbda541a8c85047312 (diff)
downloadNotEnoughUpdates-68b565d762c549bf5c1fe6bb2b57b14c37618a1e.tar.gz
NotEnoughUpdates-68b565d762c549bf5c1fe6bb2b57b14c37618a1e.tar.bz2
NotEnoughUpdates-68b565d762c549bf5c1fe6bb2b57b14c37618a1e.zip
Fix Skytils wishing compass waypoint creation that Skytils update broke (#116)
Diffstat (limited to 'src/main')
-rw-r--r--src/main/java/io/github/moulberry/notenoughupdates/miscfeatures/CrystalWishingCompassSolver.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/io/github/moulberry/notenoughupdates/miscfeatures/CrystalWishingCompassSolver.java b/src/main/java/io/github/moulberry/notenoughupdates/miscfeatures/CrystalWishingCompassSolver.java
index 977ef818..9686e97a 100644
--- a/src/main/java/io/github/moulberry/notenoughupdates/miscfeatures/CrystalWishingCompassSolver.java
+++ b/src/main/java/io/github/moulberry/notenoughupdates/miscfeatures/CrystalWishingCompassSolver.java
@@ -757,7 +757,7 @@ public class CrystalWishingCompassSolver {
String targetNameForSkytils = solutionPossibleTargets.size() == 1 ?
getNameForCompassTarget(solutionPossibleTargets.iterator().next()) :
"WishingTarget";
- String skytilsCommand = String.format("/sthw add %s %s", targetNameForSkytils, getSolutionCoordsText());
+ String skytilsCommand = String.format("/sthw add %s %s", getSolutionCoordsText(), targetNameForSkytils);
if (NotEnoughUpdates.INSTANCE.config.mining.wishingCompassAutocreateKnownWaypoints &&
solutionPossibleTargets.size() == 1) {
mc.thePlayer.addChatMessage(new ChatComponentText(destinationMessage));