Skip to content
This repository has been archived by the owner on May 12, 2024. It is now read-only.

Commit

Permalink
Fixed BedAura speed counter
Browse files Browse the repository at this point in the history
  • Loading branch information
Luna5ama committed Sep 13, 2023
1 parent 3a78e42 commit feb8b15
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -325,7 +325,7 @@ internal object BedAura : Module(
val placeInfo = placeInfo ?: return@safeListener
if (packet.category != SoundCategory.BLOCKS) return@safeListener
if (packet.sound != SoundEvents.ENTITY_GENERIC_EXPLODE) return@safeListener
if (placeInfo.center.distanceSqTo(packet.x, packet.y, packet.z) > 0.2) return@safeListener
if (placeInfo.center.distanceSqTo(packet.x, packet.y, packet.z) > 4.0) return@safeListener

explosionCount++
}
Expand Down

0 comments on commit feb8b15

Please sign in to comment.