File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
common/src/main/kotlin/com/lambda/module/modules/combat Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -147,7 +147,7 @@ object CrystalAura : Module(
147147 initialDelay = 0L ,
148148 period = 1L
149149 ) {
150- if (CrystalAura . isDisabled || updateMode != UpdateMode .Async ) return @fixedRateTimer
150+ if (isDisabled || updateMode != UpdateMode .Async ) return @fixedRateTimer
151151
152152 runSafe {
153153 // timer may spam faster than main thread computes (game freezes completely at the beginning of the frame)
@@ -167,7 +167,7 @@ object CrystalAura : Module(
167167 initialDelay = 0L ,
168168 period = 1000L
169169 ) {
170- if (CrystalAura . isDisabled || ! debug) return @fixedRateTimer
170+ if (isDisabled || ! debug) return @fixedRateTimer
171171
172172 runSafeGameScheduled {
173173 info((decay.size.toDouble() * 0.3333 ).roundToStep(0.1 ).toString())
@@ -352,7 +352,7 @@ object CrystalAura : Module(
352352 val crystalBox = pos.crystalBox
353353
354354 val entitiesNearby = fastEntitySearch<Entity >(3.5 , pos)
355- val crystals = entitiesNearby.filterIsInstance<EndCrystalEntity >() as MutableList
355+ val crystals = entitiesNearby.filterIsInstance<EndCrystalEntity >()
356356 val otherEntities = entitiesNearby - crystals + player
357357
358358 if (otherEntities.any {
You can’t perform that action at this time.
0 commit comments