diff options
| author | DoKM <54663875+DoKM@users.noreply.github.com> | 2021-08-22 10:14:33 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-08-22 10:14:33 +0200 |
| commit | 91906977577d364b49f4f24830fb105f0519be3a (patch) | |
| tree | 2ed7ce1b2bcee5a97ce5de5c98006efc96676a3f /src/main/java/io/github/moulberry/notenoughupdates/miscfeatures/CrystalMetalDetectorSolver.java | |
| parent | ce968641b42be85e0b308ecb95a435d7b2b97b3d (diff) | |
| parent | 2ee79cb1767dab9550a87ca5208452758a100932 (diff) | |
| download | notenoughupdates-91906977577d364b49f4f24830fb105f0519be3a.tar.gz notenoughupdates-91906977577d364b49f4f24830fb105f0519be3a.tar.bz2 notenoughupdates-91906977577d364b49f4f24830fb105f0519be3a.zip | |
Merge pull request #22 from DeDiamondPro/master
Automaton part overlay + some bug fixes
Diffstat (limited to 'src/main/java/io/github/moulberry/notenoughupdates/miscfeatures/CrystalMetalDetectorSolver.java')
| -rw-r--r-- | src/main/java/io/github/moulberry/notenoughupdates/miscfeatures/CrystalMetalDetectorSolver.java | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/main/java/io/github/moulberry/notenoughupdates/miscfeatures/CrystalMetalDetectorSolver.java b/src/main/java/io/github/moulberry/notenoughupdates/miscfeatures/CrystalMetalDetectorSolver.java index 357d8326..73e2b412 100644 --- a/src/main/java/io/github/moulberry/notenoughupdates/miscfeatures/CrystalMetalDetectorSolver.java +++ b/src/main/java/io/github/moulberry/notenoughupdates/miscfeatures/CrystalMetalDetectorSolver.java @@ -81,7 +81,8 @@ public class CrystalMetalDetectorSolver { } public static void render(float partialTicks) { - if (SBInfo.getInstance().getLocation() != null && SBInfo.getInstance().getLocation().equals("crystal_hollows")) { + if (SBInfo.getInstance().getLocation() != null && SBInfo.getInstance().getLocation().equals("crystal_hollows") && + SBInfo.getInstance().location.equals("Mines of Divan")) { if (possibleBlocks.size() == 1) { RenderUtils.renderWayPoint("Treasure", possibleBlocks.get(0).add(0, 2.5, 0), partialTicks); } else if (possibleBlocks.size() > 1 && NotEnoughUpdates.INSTANCE.config.mining.metalDetectorShowPossible) { |
