diff options
author | My-Name-Is-Jeff <37018278+My-Name-Is-Jeff@users.noreply.github.com> | 2021-02-11 22:23:10 -0500 |
---|---|---|
committer | My-Name-Is-Jeff <37018278+My-Name-Is-Jeff@users.noreply.github.com> | 2021-02-11 22:23:10 -0500 |
commit | b0a07f3b5861415e3d5b3f24dce06b03bf34e13d (patch) | |
tree | accc43231e9d77002899bb0f73cf3c95b8892efe /src/main/java | |
parent | e9b6d1907a86fa0185271c35c6524c4f5e7c99af (diff) | |
download | SkyblockMod-b0a07f3b5861415e3d5b3f24dce06b03bf34e13d.tar.gz SkyblockMod-b0a07f3b5861415e3d5b3f24dce06b03bf34e13d.tar.bz2 SkyblockMod-b0a07f3b5861415e3d5b3f24dce06b03bf34e13d.zip |
Blaze Positions don't reset
Diffstat (limited to 'src/main/java')
-rw-r--r-- | src/main/java/me/Danker/DankersSkyblockMod.java | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/main/java/me/Danker/DankersSkyblockMod.java b/src/main/java/me/Danker/DankersSkyblockMod.java index 742cc82..bead466 100644 --- a/src/main/java/me/Danker/DankersSkyblockMod.java +++ b/src/main/java/me/Danker/DankersSkyblockMod.java @@ -416,6 +416,8 @@ public class DankersSkyblockMod { public void onWorldChange(WorldEvent.Load event) { foundLivid = false; livid = null; + lowestBlaze = null; + highestBlaze = null; nextBonzoUse = 0; } @@ -3143,7 +3145,7 @@ public class DankersSkyblockMod { @SubscribeEvent public void onWorldRender(RenderWorldLastEvent event) { - if (ToggleCommand.blazeToggled) { + if (ToggleCommand.blazeToggled && Utils.inDungeons) { if (lowestBlaze != null) { BlockPos stringPos = new BlockPos(lowestBlaze.posX, lowestBlaze.posY + 1, lowestBlaze.posZ); Utils.draw3DString(stringPos, EnumChatFormatting.BOLD + "Smallest", LOWEST_BLAZE_COLOUR, event.partialTicks); |