Moved timed hunting info packet to zone exit.
This commit is contained in:
@@ -14326,7 +14326,6 @@ public class PlayerInstance extends Playable
|
||||
_timedHuntingZoneFinishTask.cancel(true);
|
||||
_timedHuntingZoneFinishTask = null;
|
||||
}
|
||||
sendPacket(TimedHuntingZoneExit.STATIC_PACKET);
|
||||
}
|
||||
|
||||
public long getTimedHuntingZoneRemainingTime()
|
||||
|
@@ -23,6 +23,7 @@ import org.l2jmobius.gameserver.model.actor.instance.PlayerInstance;
|
||||
import org.l2jmobius.gameserver.model.variables.PlayerVariables;
|
||||
import org.l2jmobius.gameserver.model.zone.ZoneId;
|
||||
import org.l2jmobius.gameserver.model.zone.ZoneType;
|
||||
import org.l2jmobius.gameserver.network.serverpackets.sessionzones.TimedHuntingZoneExit;
|
||||
|
||||
/**
|
||||
* @author Mobius
|
||||
@@ -87,6 +88,7 @@ public class TimedHuntingZone extends ZoneType
|
||||
if (player != null)
|
||||
{
|
||||
player.setInsideZone(ZoneId.TIMED_HUNTING, false);
|
||||
player.sendPacket(TimedHuntingZoneExit.STATIC_PACKET);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user