root/trunk/AE-go_GameServer/data/scripts/system/handlers/admincommands/MoveToMe.java
| 966 | 1006 | ||
|---|---|---|---|
76 | return; | 76 | return; |
77 | } | 77 | } |
78 | 78 | ||
79 | playerToMove.getController().teleportTo(admin.getWorldId(), admin.getX(), admin.getY(), admin.getZ(), admin.getHeading(), 0); | 79 | playerToMove.getController().teleportTo(admin.getWorldId(), admin.getInstanceId(), admin.getX(), admin.getY(), admin.getZ(), admin.getHeading(), 0); |
80 | PacketSendUtility.sendMessage(admin, "Teleported player " + playerToMove.getName() + " to your location."); | 80 | PacketSendUtility.sendMessage(admin, "Teleported player " + playerToMove.getName() + " to your location."); |
81 | PacketSendUtility.sendMessage(playerToMove, "You have been teleported by " + admin.getName() + "."); | 81 | PacketSendUtility.sendMessage(playerToMove, "You have been teleported by " + admin.getName() + "."); |
82 | } | 82 | } |
Download diff