mirror of
https://github.com/PaperMC/Paper.git
synced 2024-11-05 10:20:53 +01:00
Added Entity.teleportTo(Entity)
This commit is contained in:
parent
860e1b762d
commit
81f920d927
@ -39,6 +39,10 @@ public abstract class CraftEntity implements org.bukkit.Entity {
|
||||
entity.b(location.getX(), location.getY(), location.getZ(), location.getYaw(), location.getPitch());
|
||||
}
|
||||
|
||||
public void teleportTo(org.bukkit.Entity destination) {
|
||||
teleportTo(destination.getLocation());
|
||||
}
|
||||
|
||||
public int getEntityID() {
|
||||
return entity.g;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user