Skip to content

Commit 3c77cdd

Browse files
committed
test
1 parent 9dae361 commit 3c77cdd

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

src/main/kotlin/org/kodeekk/Ovureborn.kt

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -122,6 +122,7 @@ object Ovureborn : ModInitializer {
122122
ClientTickEvents.END_CLIENT_TICK.register { client ->
123123
if (scanKeyBinding.wasPressed()) {
124124
isScanning = !isScanning
125+
calibration_array.clear()
125126
}
126127
if (isScanning) {
127128
coroutineScope.launch {
@@ -136,9 +137,6 @@ object Ovureborn : ModInitializer {
136137
val player = client.player ?: return@withContext
137138
val vaults = findVaultsInRadius(world, player.blockPos, radius)
138139

139-
calibration_array.clear()
140-
141-
142140
withContext(Dispatchers.IO) {
143141
if (vaults.isNotEmpty()) {
144142
// player.sendMessage(Text.literal("§6Found §b${vaults.size}§6 vault(s) nearby:"), true)

0 commit comments

Comments
 (0)