diff --git a/plugin/src/main/java/lol/pyr/znpcsplus/entity/PacketEntity.java b/plugin/src/main/java/lol/pyr/znpcsplus/entity/PacketEntity.java index 4e51020..e1cf15c 100644 --- a/plugin/src/main/java/lol/pyr/znpcsplus/entity/PacketEntity.java +++ b/plugin/src/main/java/lol/pyr/znpcsplus/entity/PacketEntity.java @@ -71,6 +71,9 @@ public class PacketEntity implements PropertyHolder { return FutureUtil.exceptionPrintingRunAsync(() -> { if (type == EntityTypes.PLAYER) packetFactory.spawnPlayer(player, this, properties).join(); else packetFactory.spawnEntity(player, this, properties); + if (vehicle != null) { + setVehicle(vehicle); + } if (vehicleId != null) { packetFactory.setPassengers(player, vehicleId, this.getEntityId()); }