From 2f2a89d5dd621bd4f1a4d473fd4aef4ad5d4a118 Mon Sep 17 00:00:00 2001 From: hannibal2 <24389977+hannibal00212@users.noreply.github.com> Date: Wed, 2 Aug 2023 14:26:18 +0200 Subject: fixing EndermanSlayerHideParticles --- .../skyhanni/features/slayer/enderman/EndermanSlayerHideParticles.kt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src') diff --git a/src/main/java/at/hannibal2/skyhanni/features/slayer/enderman/EndermanSlayerHideParticles.kt b/src/main/java/at/hannibal2/skyhanni/features/slayer/enderman/EndermanSlayerHideParticles.kt index d2abd8bf1..58ef50f08 100644 --- a/src/main/java/at/hannibal2/skyhanni/features/slayer/enderman/EndermanSlayerHideParticles.kt +++ b/src/main/java/at/hannibal2/skyhanni/features/slayer/enderman/EndermanSlayerHideParticles.kt @@ -14,13 +14,13 @@ import net.minecraftforge.fml.common.eventhandler.SubscribeEvent class EndermanSlayerHideParticles { - private var endermanLocations = sequenceOf() + private var endermanLocations = listOf() @SubscribeEvent fun onTick(event: LorenzTickEvent) { if (!isEnabled()) return - endermanLocations = EntityUtils.getEntities().map { it.getLorenzVec() } + endermanLocations = EntityUtils.getEntities().map { it.getLorenzVec() }.toList() } @SubscribeEvent -- cgit