can teleport to owned mines
This commit is contained in:
@@ -290,6 +290,7 @@ public class MerchantMsgHandler extends AbstractClientMsgHandler {
|
|||||||
if (tower == null)
|
if (tower == null)
|
||||||
return;
|
return;
|
||||||
Vector3fImmutable teleportLoc = Vector3fImmutable.getRandomPointOnCircle(tower.getLoc(), 10);
|
Vector3fImmutable teleportLoc = Vector3fImmutable.getRandomPointOnCircle(tower.getLoc(), 10);
|
||||||
|
ChatManager.chatSystemInfo(player, "You Will Teleport To " + mineTele.getParentZone().getParent().getName() + "'s Mine In " + time + " Seconds.");
|
||||||
if (time > 0) {
|
if (time > 0) {
|
||||||
//TODO add timer to teleport
|
//TODO add timer to teleport
|
||||||
TeleportJob tj = new TeleportJob(player, npc, teleportLoc, origin, true);
|
TeleportJob tj = new TeleportJob(player, npc, teleportLoc, origin, true);
|
||||||
|
|||||||
Reference in New Issue
Block a user