diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/main/java/org/bukkit/craftbukkit/entity/CraftEntity.java | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/main/java/org/bukkit/craftbukkit/entity/CraftEntity.java b/src/main/java/org/bukkit/craftbukkit/entity/CraftEntity.java index dee0d4ef..705381f9 100644 --- a/src/main/java/org/bukkit/craftbukkit/entity/CraftEntity.java +++ b/src/main/java/org/bukkit/craftbukkit/entity/CraftEntity.java @@ -302,7 +302,7 @@ public abstract class CraftEntity implements org.bukkit.entity.Entity { public boolean setPassenger(org.bukkit.entity.Entity passenger) { if (passenger instanceof CraftEntity) { - ((CraftEntity) passenger).getHandle().setPassengerOf(getHandle()); + ((CraftEntity) passenger).getHandle().mount(getHandle()); return true; } else { return false; @@ -318,7 +318,7 @@ public abstract class CraftEntity implements org.bukkit.entity.Entity { return false; } - getHandle().passenger.setPassengerOf(null); + getHandle().passenger.mount(null); return true; } @@ -414,7 +414,7 @@ public abstract class CraftEntity implements org.bukkit.entity.Entity { return false; } - getHandle().setPassengerOf(null); + getHandle().mount(null); return true; } |