Fix crash when copying entity data

Fixes https://github.com/nea89o/Firmament/issues/35
This commit is contained in:
Linnea Gräf
2024-07-10 17:31:48 +02:00
parent 7a66705c73
commit 29478f0af0

View File

@@ -96,7 +96,7 @@ object PowerUserTools : FirmamentFeature {
} }
MC.sendChat(Text.stringifiedTranslatable("firmament.poweruser.entity.passengers", target.passengerList.size)) MC.sendChat(Text.stringifiedTranslatable("firmament.poweruser.entity.passengers", target.passengerList.size))
target.passengerList.forEach { target.passengerList.forEach {
showEntity(target) showEntity(it)
} }
} }