mirror of
https://github.com/PaperMC/Paper.git
synced 2025-08-20 14:53:49 -07:00
@@ -593,7 +593,7 @@
|
|||||||
+ // CraftBukkit start - Delegate to teleport(Location)
|
+ // CraftBukkit start - Delegate to teleport(Location)
|
||||||
public void dismount(double d0, double d1, double d2, float f, float f1) {
|
public void dismount(double d0, double d1, double d2, float f, float f1) {
|
||||||
- this.teleport(d0, d1, d2, f, f1, Collections.emptySet(), true);
|
- this.teleport(d0, d1, d2, f, f1, Collections.emptySet(), true);
|
||||||
+ this.dismount(d0, d1, d2, f, f1, PlayerTeleportEvent.TeleportCause.UNKNOWN);
|
+ this.dismount(d0, d1, d2, f, f1, PlayerTeleportEvent.TeleportCause.DISMOUNT);
|
||||||
+ }
|
+ }
|
||||||
+
|
+
|
||||||
+ public void dismount(double d0, double d1, double d2, float f, float f1, PlayerTeleportEvent.TeleportCause cause) {
|
+ public void dismount(double d0, double d1, double d2, float f, float f1, PlayerTeleportEvent.TeleportCause cause) {
|
||||||
|
Reference in New Issue
Block a user