root/trunk/AE-go_GameServer/data/scripts/system/handlers/admincommands/MovePlayerToPlayer.java
| 966 | 1006 | ||
|---|---|---|---|
82 | return; | 82 | return; |
83 | } | 83 | } |
84 | 84 | ||
85 | playerToMove.getController().teleportTo(playerDestination.getWorldId(), playerDestination.getX(), playerDestination.getY(), playerDestination.getZ(), playerDestination.getHeading(), 0); | 85 | playerToMove.getController().teleportTo(playerDestination.getWorldId(), playerDestination.getInstanceId(), playerDestination.getX(), playerDestination.getY(), playerDestination.getZ(), playerDestination.getHeading(), 0); |
86 | 86 | ||
87 | PacketSendUtility.sendMessage(admin, "Teleported player " + playerToMove.getName() + " to the location of player " + playerDestination.getName() + "."); | 87 | PacketSendUtility.sendMessage(admin, "Teleported player " + playerToMove.getName() + " to the location of player " + playerDestination.getName() + "."); |
88 | PacketSendUtility.sendMessage(playerToMove, "You have been teleported by an administrator."); | 88 | PacketSendUtility.sendMessage(playerToMove, "You have been teleported by an administrator."); |
Download diff