Try this instead.
Index: java/org/l2jmobius/gameserver/handler/skillhandlers/SummonFriend.java
===================================================================
--- java/org/l2jmobius/gameserver/handler/skillhandlers/SummonFriend.java (revision 11465)
+++ java/org/l2jmobius/gameserver/handler/skillhandlers/SummonFriend.java (working copy)
@@ -177,8 +177,7 @@
continue;
}
- // Summon friend.
- if (skill.getId() == 1403)
+ if (skill.getId() == 1403 /* Summon Friend */)
{
// Send message.
final ConfirmDlg confirm = new ConfirmDlg(SystemMessageId.S1_WISHES_TO_SUMMON_YOU_FROM_S2_DO_YOU_ACCEPT.getId());
@@ -188,6 +187,10 @@
confirm.addRequesterId(activePlayer.getObjectId());
targetPlayer.sendPacket(confirm);
}
+ else if (skill.getId() == 1429 /* Gate Chant */)
+ {
+ targetPlayer.teleportAnswer(1, activePlayer.getObjectId());
+ }
else
{
Player.teleToTarget(targetPlayer, activePlayer, activePlayer.getLocation(), skill);