diff --git a/src/main/java/com/simibubi/create/content/trains/entity/Carriage.java b/src/main/java/com/simibubi/create/content/trains/entity/Carriage.java index b340e4848..c3feabdb7 100644 --- a/src/main/java/com/simibubi/create/content/trains/entity/Carriage.java +++ b/src/main/java/com/simibubi/create/content/trains/entity/Carriage.java @@ -791,6 +791,8 @@ public class Carriage { } private void createEntity(Level level, boolean loadPassengers) { + if (positionAnchor != null) + serialisedEntity.put("Pos", VecHelper.writeNBT(positionAnchor)); Entity entity = EntityType.create(serialisedEntity, level) .orElse(null);