aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorhannibal2 <24389977+hannibal00212@users.noreply.github.com>2023-08-02 14:26:18 +0200
committerhannibal2 <24389977+hannibal00212@users.noreply.github.com>2023-08-02 14:26:18 +0200
commit2f2a89d5dd621bd4f1a4d473fd4aef4ad5d4a118 (patch)
tree762158004e4d32184763aaf3142e95ae7e8654b4
parent6cb3282b20bf2533a8fde4f6d30e0530d53f63dd (diff)
downloadskyhanni-2f2a89d5dd621bd4f1a4d473fd4aef4ad5d4a118.tar.gz
skyhanni-2f2a89d5dd621bd4f1a4d473fd4aef4ad5d4a118.tar.bz2
skyhanni-2f2a89d5dd621bd4f1a4d473fd4aef4ad5d4a118.zip
fixing EndermanSlayerHideParticles
-rw-r--r--src/main/java/at/hannibal2/skyhanni/features/slayer/enderman/EndermanSlayerHideParticles.kt4
1 files changed, 2 insertions, 2 deletions
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<LorenzVec>()
+ private var endermanLocations = listOf<LorenzVec>()
@SubscribeEvent
fun onTick(event: LorenzTickEvent) {
if (!isEnabled()) return
- endermanLocations = EntityUtils.getEntities<EntityEnderman>().map { it.getLorenzVec() }
+ endermanLocations = EntityUtils.getEntities<EntityEnderman>().map { it.getLorenzVec() }.toList()
}
@SubscribeEvent