diff options
| author | hannibal2 <24389977+hannibal002@users.noreply.github.com> | 2022-11-20 13:42:58 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-11-20 13:42:58 +0100 |
| commit | 3d37cee20ddcf92b47144cb1e3ae25785a5e8bc2 (patch) | |
| tree | 43ffa014196baf4e2c027a37ed54304f8db4827f /src/main/java/io/github/moulberry/notenoughupdates/miscfeatures/Navigation.java | |
| parent | f6fc2742b86333947fe506de1e80093b1f8ad7ad (diff) | |
| download | notenoughupdates-3d37cee20ddcf92b47144cb1e3ae25785a5e8bc2.tar.gz notenoughupdates-3d37cee20ddcf92b47144cb1e3ae25785a5e8bc2.tar.bz2 notenoughupdates-3d37cee20ddcf92b47144cb1e3ae25785a5e8bc2.zip | |
Added Abiphone contact requirements and location. (#411)
* Added Abiphone contact requirements and location.
* Using more repo data and less item lore data
* F3+H support
* merge problems
Co-authored-by: hannibal2 <24389977+hannibal00212@users.noreply.github.com>
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.java | 4 |
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(); + } } } |
