mirror of
https://github.com/PaperMC/Paper.git
synced 2025-08-15 20:23:53 -07:00
Fixed player teleporting not working with a certain method. This fixes BUKKIT-198
This commit is contained in:
@@ -153,7 +153,7 @@ public abstract class CraftEntity implements org.bukkit.entity.Entity {
|
|||||||
}
|
}
|
||||||
|
|
||||||
public boolean teleport(Location location) {
|
public boolean teleport(Location location) {
|
||||||
return teleport(this, TeleportCause.PLUGIN);
|
return teleport(location, TeleportCause.PLUGIN);
|
||||||
}
|
}
|
||||||
|
|
||||||
public boolean teleport(Location location, TeleportCause cause) {
|
public boolean teleport(Location location, TeleportCause cause) {
|
||||||
|
Reference in New Issue
Block a user