Added a method to teleport entities across worlds.

This commit is contained in:
Matthew Miller
2018-12-21 16:56:10 +10:00
parent b300c21185
commit c949b07df1
14 changed files with 287 additions and 2 deletions

View File

@ -97,6 +97,11 @@ class PlayerProxy extends AbstractPlayerActor {
return basePlayer.getLocation();
}
@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);