aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorLinnea Gräf <nea@nea.moe>2024-07-10 17:31:48 +0200
committerLinnea Gräf <nea@nea.moe>2024-07-10 17:31:55 +0200
commit29478f0af093d726f2596f174d58331dd409208b (patch)
tree6d66132d150c5d1a16e4fd0f4a50cdc7d6eaffbc /src
parent7a66705c73a14772601b5998af1cd9f23e1ee887 (diff)
downloadFirmament-29478f0af093d726f2596f174d58331dd409208b.tar.gz
Firmament-29478f0af093d726f2596f174d58331dd409208b.tar.bz2
Firmament-29478f0af093d726f2596f174d58331dd409208b.zip
Fix crash when copying entity data
Fixes https://github.com/nea89o/Firmament/issues/35
Diffstat (limited to 'src')
-rw-r--r--src/main/kotlin/moe/nea/firmament/features/debug/PowerUserTools.kt2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/kotlin/moe/nea/firmament/features/debug/PowerUserTools.kt b/src/main/kotlin/moe/nea/firmament/features/debug/PowerUserTools.kt
index 17e8253..ec565aa 100644
--- a/src/main/kotlin/moe/nea/firmament/features/debug/PowerUserTools.kt
+++ b/src/main/kotlin/moe/nea/firmament/features/debug/PowerUserTools.kt
@@ -96,7 +96,7 @@ object PowerUserTools : FirmamentFeature {
}
MC.sendChat(Text.stringifiedTranslatable("firmament.poweruser.entity.passengers", target.passengerList.size))
target.passengerList.forEach {
- showEntity(target)
+ showEntity(it)
}
}