Always send time icon for main branches.

This commit is contained in:
MobiusDevelopment 2021-10-20 14:33:41 +00:00
parent aa84c8ce99
commit 99475603b6
3 changed files with 9 additions and 3 deletions

View File

@ -153,13 +153,15 @@ public class ExTimedHuntingZoneEnter implements IClientIncomingPacket
if (instanceId == 0)
{
player.teleToLocation(holder.getEnterLocation());
player.sendPacket(new TimedHuntingZoneEnter(player, _zoneId));
}
else // Transcendent zones.
{
QuestManager.getInstance().getQuest("TranscendentZone").notifyEvent("ENTER " + _zoneId, null, player);
}
// Send time icon.
player.sendPacket(new TimedHuntingZoneEnter(player, _zoneId));
// Close window.
player.sendPacket(TimedHuntingZoneClose.STATIC_PACKET);
}

View File

@ -153,13 +153,15 @@ public class ExTimedHuntingZoneEnter implements IClientIncomingPacket
if (instanceId == 0)
{
player.teleToLocation(holder.getEnterLocation());
player.sendPacket(new TimedHuntingZoneEnter(player, _zoneId));
}
else // Transcendent zones.
{
QuestManager.getInstance().getQuest("TranscendentZone").notifyEvent("ENTER " + _zoneId, null, player);
}
// Send time icon.
player.sendPacket(new TimedHuntingZoneEnter(player, _zoneId));
// Close window.
player.sendPacket(TimedHuntingZoneClose.STATIC_PACKET);
}

View File

@ -153,13 +153,15 @@ public class ExTimedHuntingZoneEnter implements IClientIncomingPacket
if (instanceId == 0)
{
player.teleToLocation(holder.getEnterLocation());
player.sendPacket(new TimedHuntingZoneEnter(player, _zoneId));
}
else // Transcendent zones.
{
QuestManager.getInstance().getQuest("TranscendentZone").notifyEvent("ENTER " + _zoneId, null, player);
}
// Send time icon.
player.sendPacket(new TimedHuntingZoneEnter(player, _zoneId));
// Close window.
player.sendPacket(TimedHuntingZoneClose.STATIC_PACKET);
}