Always send time icon for main branches.
This commit is contained in:
parent
aa84c8ce99
commit
99475603b6
@ -153,13 +153,15 @@ public class ExTimedHuntingZoneEnter implements IClientIncomingPacket
|
|||||||
if (instanceId == 0)
|
if (instanceId == 0)
|
||||||
{
|
{
|
||||||
player.teleToLocation(holder.getEnterLocation());
|
player.teleToLocation(holder.getEnterLocation());
|
||||||
player.sendPacket(new TimedHuntingZoneEnter(player, _zoneId));
|
|
||||||
}
|
}
|
||||||
else // Transcendent zones.
|
else // Transcendent zones.
|
||||||
{
|
{
|
||||||
QuestManager.getInstance().getQuest("TranscendentZone").notifyEvent("ENTER " + _zoneId, null, player);
|
QuestManager.getInstance().getQuest("TranscendentZone").notifyEvent("ENTER " + _zoneId, null, player);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Send time icon.
|
||||||
|
player.sendPacket(new TimedHuntingZoneEnter(player, _zoneId));
|
||||||
|
|
||||||
// Close window.
|
// Close window.
|
||||||
player.sendPacket(TimedHuntingZoneClose.STATIC_PACKET);
|
player.sendPacket(TimedHuntingZoneClose.STATIC_PACKET);
|
||||||
}
|
}
|
||||||
|
@ -153,13 +153,15 @@ public class ExTimedHuntingZoneEnter implements IClientIncomingPacket
|
|||||||
if (instanceId == 0)
|
if (instanceId == 0)
|
||||||
{
|
{
|
||||||
player.teleToLocation(holder.getEnterLocation());
|
player.teleToLocation(holder.getEnterLocation());
|
||||||
player.sendPacket(new TimedHuntingZoneEnter(player, _zoneId));
|
|
||||||
}
|
}
|
||||||
else // Transcendent zones.
|
else // Transcendent zones.
|
||||||
{
|
{
|
||||||
QuestManager.getInstance().getQuest("TranscendentZone").notifyEvent("ENTER " + _zoneId, null, player);
|
QuestManager.getInstance().getQuest("TranscendentZone").notifyEvent("ENTER " + _zoneId, null, player);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Send time icon.
|
||||||
|
player.sendPacket(new TimedHuntingZoneEnter(player, _zoneId));
|
||||||
|
|
||||||
// Close window.
|
// Close window.
|
||||||
player.sendPacket(TimedHuntingZoneClose.STATIC_PACKET);
|
player.sendPacket(TimedHuntingZoneClose.STATIC_PACKET);
|
||||||
}
|
}
|
||||||
|
@ -153,13 +153,15 @@ public class ExTimedHuntingZoneEnter implements IClientIncomingPacket
|
|||||||
if (instanceId == 0)
|
if (instanceId == 0)
|
||||||
{
|
{
|
||||||
player.teleToLocation(holder.getEnterLocation());
|
player.teleToLocation(holder.getEnterLocation());
|
||||||
player.sendPacket(new TimedHuntingZoneEnter(player, _zoneId));
|
|
||||||
}
|
}
|
||||||
else // Transcendent zones.
|
else // Transcendent zones.
|
||||||
{
|
{
|
||||||
QuestManager.getInstance().getQuest("TranscendentZone").notifyEvent("ENTER " + _zoneId, null, player);
|
QuestManager.getInstance().getQuest("TranscendentZone").notifyEvent("ENTER " + _zoneId, null, player);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Send time icon.
|
||||||
|
player.sendPacket(new TimedHuntingZoneEnter(player, _zoneId));
|
||||||
|
|
||||||
// Close window.
|
// Close window.
|
||||||
player.sendPacket(TimedHuntingZoneClose.STATIC_PACKET);
|
player.sendPacket(TimedHuntingZoneClose.STATIC_PACKET);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user