diff options
author | CraftyOldMiner <85420839+CraftyOldMiner@users.noreply.github.com> | 2022-04-23 06:33:40 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-04-23 13:33:40 +0200 |
commit | 68b565d762c549bf5c1fe6bb2b57b14c37618a1e (patch) | |
tree | 9f22ba28a642bd9792e61aa16ddcdbf44582089a | |
parent | 15c0c229b51eebeab59031fbda541a8c85047312 (diff) | |
download | NotEnoughUpdates-68b565d762c549bf5c1fe6bb2b57b14c37618a1e.tar.gz NotEnoughUpdates-68b565d762c549bf5c1fe6bb2b57b14c37618a1e.tar.bz2 NotEnoughUpdates-68b565d762c549bf5c1fe6bb2b57b14c37618a1e.zip |
Fix Skytils wishing compass waypoint creation that Skytils update broke (#116)
-rw-r--r-- | src/main/java/io/github/moulberry/notenoughupdates/miscfeatures/CrystalWishingCompassSolver.java | 2 |
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)); |