Skip to content
Snippets Groups Projects
Commit ad9ceebd authored by MELERIX's avatar MELERIX
Browse files

JAVA: Fix for summoning pet broadcast, thanks JIV.

parent 43c9f673
No related branches found
No related tags found
No related merge requests found
......@@ -154,7 +154,7 @@ public class SummonItems implements IItemHandler
case 1: // pet summons
final L2Object oldTarget = activeChar.getTarget();
activeChar.setTarget(activeChar);
Broadcast.toSelfAndKnownPlayersInRadius(activeChar, new MagicSkillUse(activeChar, 2046, 1, 5000, 0), 2000);
Broadcast.toSelfAndKnownPlayers(activeChar, new MagicSkillUse(activeChar, 2046, 1, 5000, 0));
activeChar.setTarget(oldTarget);
activeChar.sendPacket(new SetupGauge(0, 5000));
activeChar.sendPacket(new SystemMessage(SystemMessageId.SUMMON_A_PET));
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment