We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9dae361 commit 3c77cddCopy full SHA for 3c77cdd
src/main/kotlin/org/kodeekk/Ovureborn.kt
@@ -122,6 +122,7 @@ object Ovureborn : ModInitializer {
122
ClientTickEvents.END_CLIENT_TICK.register { client ->
123
if (scanKeyBinding.wasPressed()) {
124
isScanning = !isScanning
125
+ calibration_array.clear()
126
}
127
if (isScanning) {
128
coroutineScope.launch {
@@ -136,9 +137,6 @@ object Ovureborn : ModInitializer {
136
137
val player = client.player ?: return@withContext
138
val vaults = findVaultsInRadius(world, player.blockPos, radius)
139
- calibration_array.clear()
140
-
141
142
withContext(Dispatchers.IO) {
143
if (vaults.isNotEmpty()) {
144
// player.sendMessage(Text.literal("§6Found §b${vaults.size}§6 vault(s) nearby:"), true)
0 commit comments