aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/io/github/moulberry/notenoughupdates/miscfeatures/Navigation.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/main/java/io/github/moulberry/notenoughupdates/miscfeatures/Navigation.java')
-rw-r--r--src/main/java/io/github/moulberry/notenoughupdates/miscfeatures/Navigation.java4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/main/java/io/github/moulberry/notenoughupdates/miscfeatures/Navigation.java b/src/main/java/io/github/moulberry/notenoughupdates/miscfeatures/Navigation.java
index 89e95e25..9bdc4608 100644
--- a/src/main/java/io/github/moulberry/notenoughupdates/miscfeatures/Navigation.java
+++ b/src/main/java/io/github/moulberry/notenoughupdates/miscfeatures/Navigation.java
@@ -389,8 +389,10 @@ public class Navigation {
&& NotEnoughUpdates.INSTANCE.config.misc.untrackCloseWaypoints
&& island.equals(SBInfo.getInstance().mode)) {
EntityPlayerSP thePlayer = Minecraft.getMinecraft().thePlayer;
- if (thePlayer != null && thePlayer.getDistanceSq(position) < 16)
+ if (thePlayer != null && thePlayer.getDistanceSq(position) < 16) {
untrackWaypoint();
+ AbiphoneContactHelper.getInstance().resetMarker();
+ }
}
}