From c4ef10369b0ca0cc446ebc54bc44c52224024ee1 Mon Sep 17 00:00:00 2001 From: inglettronald Date: Fri, 28 Apr 2023 17:02:21 -0500 Subject: fixed comments --- src/main/kotlin/dulkirmod/features/DragonFeatures.kt | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/main/kotlin/dulkirmod/features/DragonFeatures.kt b/src/main/kotlin/dulkirmod/features/DragonFeatures.kt index 2957c00..67e488f 100644 --- a/src/main/kotlin/dulkirmod/features/DragonFeatures.kt +++ b/src/main/kotlin/dulkirmod/features/DragonFeatures.kt @@ -95,7 +95,7 @@ object DragonFeatures { fun updateDragonDead() { if (!(DulkirConfig.dragonKillBox || DulkirConfig.lbWaypoints || DulkirConfig.decoyWaypoints || DulkirConfig.gyroWaypoints)) return - //if (!ScoreBoardUtils.isInM7) return + if (!ScoreBoardUtils.isInM7) return if (mc.theWorld == null) return if (mc.thePlayer.positionVector.yCoord > 45) return @@ -156,7 +156,7 @@ object DragonFeatures { private fun renderDragonBoxes() { if (!DulkirConfig.dragonKillBox) return - //if (!ScoreBoardUtils.isInM7) return + if (!ScoreBoardUtils.isInM7) return if (mc.thePlayer.positionVector.yCoord > 45) return // Blue if (isAlive("blue")) @@ -186,7 +186,7 @@ object DragonFeatures { @SubscribeEvent fun renderP5Waypoints(event: RenderWorldLastEvent) { if (!(DulkirConfig.gyroWaypoints || DulkirConfig.lbWaypoints || DulkirConfig.decoyWaypoints)) return - //if (!ScoreBoardUtils.isInM7) return + if (!ScoreBoardUtils.isInM7) return val playerVec = mc.thePlayer.positionVector if (playerVec.yCoord > 45) return if (DulkirConfig.gyroWaypoints) { -- cgit