diff --git a/polymer-virtual-entity/src/main/java/eu/pb4/polymer/virtualentity/api/VirtualEntityUtils.java b/polymer-virtual-entity/src/main/java/eu/pb4/polymer/virtualentity/api/VirtualEntityUtils.java index 5ebdce35..0ab9ddcb 100644 --- a/polymer-virtual-entity/src/main/java/eu/pb4/polymer/virtualentity/api/VirtualEntityUtils.java +++ b/polymer-virtual-entity/src/main/java/eu/pb4/polymer/virtualentity/api/VirtualEntityUtils.java @@ -50,7 +50,7 @@ public static void removeVirtualPassenger(Entity entity, int passengerId) { public static void removeVirtualPassenger(Entity entity, int... passengerId) { for (var i : passengerId) { - ((EntityExt) entity).polymerVE$getVirtualRidden().removeInt(i); + ((EntityExt) entity).polymerVE$getVirtualRidden().rem(i); } ((EntityExt) entity).polymerVE$markVirtualRiddenDirty(); }