mirror of
https://github.com/plexusorg/Plex-FAWE.git
synced 2025-07-04 03:56:41 +00:00
Added a method to teleport entities across worlds.
This commit is contained in:
committed by
IronApollo
parent
7a9bd226ce
commit
c935e381b7
@ -115,6 +115,11 @@ public class PlayerProxy extends AbstractPlayerActor {
|
||||
return new Location(loc.getExtent(), loc.toVector().add(offset), loc.getDirection());
|
||||
}
|
||||
|
||||
@Override
|
||||
public boolean setLocation(Location location) {
|
||||
return basePlayer.setLocation(location);
|
||||
}
|
||||
|
||||
@Override
|
||||
public void setPosition(Vector3 pos, float pitch, float yaw) {
|
||||
basePlayer.setPosition(pos, pitch, yaw);
|
||||
|
Reference in New Issue
Block a user