Skip to content

Commit 91ad0ed

Browse files
authored
Fix: Issue in pest waypoint (#4649)
1 parent 7c67801 commit 91ad0ed

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

src/main/java/at/hannibal2/skyhanni/features/garden/pests/PestParticleWaypoint.kt

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,6 @@ import io.github.notenoughupdates.moulconfig.ChromaColour
2626
import net.minecraft.network.play.server.S0EPacketSpawnObject
2727
import net.minecraft.util.EnumParticleTypes
2828
import kotlin.time.Duration.Companion.seconds
29-
3029
//#if MC > 1.12
3130
//$$ import net.minecraft.network.packet.s2c.play.ParticleS2CPacket
3231
//#endif
@@ -50,10 +49,6 @@ object PestParticleWaypoint {
5049
if (!isEnabled() || !PestApi.hasVacuumInHand()) return
5150
if (event.clickType != ClickType.LEFT_CLICK) return
5251
if (MinecraftCompat.localPlayer.isSneaking) return
53-
if (lastParticle.passedSince() < 0.2.seconds) {
54-
event.cancel()
55-
return
56-
}
5752
reset()
5853
lastPestTrackerUse = SimpleTimeMark.now()
5954
}

0 commit comments

Comments
 (0)