diff --git a/src/main/java/net/minestom/server/entity/Entity.java b/src/main/java/net/minestom/server/entity/Entity.java index 871306fb6..c7e73623b 100644 --- a/src/main/java/net/minestom/server/entity/Entity.java +++ b/src/main/java/net/minestom/server/entity/Entity.java @@ -1510,6 +1510,10 @@ public class Entity implements Viewable, Tickable, EventHandler, Da if (hasPassenger()) { getPassengers().forEach(this::removePassenger); } + var vehicle = this.vehicle; + if (vehicle != null) { + vehicle.removePassenger(this); + } MinecraftServer.getUpdateManager().getThreadProvider().removeEntity(this); this.removed = true; this.shouldRemove = true;