Fixed limit zone entry.
This commit is contained in:
@@ -99,7 +99,7 @@ public class ExTimedHuntingZoneEnter implements IClientIncomingPacket
|
||||
{
|
||||
if (endTime == currentTime)
|
||||
{
|
||||
endTime = Config.TIME_LIMITED_ZONE_INITIAL_TIME;
|
||||
endTime += Config.TIME_LIMITED_ZONE_INITIAL_TIME;
|
||||
player.getVariables().set(PlayerVariables.HUNTING_ZONE_ENTRY + _zoneId, currentTime);
|
||||
}
|
||||
}
|
||||
|
@@ -103,7 +103,7 @@ public class ExTimedHuntingZoneEnter implements IClientIncomingPacket
|
||||
{
|
||||
if (endTime == currentTime)
|
||||
{
|
||||
endTime = Config.TIME_LIMITED_ZONE_INITIAL_TIME_WEEKLY;
|
||||
endTime += Config.TIME_LIMITED_ZONE_INITIAL_TIME_WEEKLY;
|
||||
player.getVariables().set(PlayerVariables.HUNTING_ZONE_ENTRY + _zoneId, currentTime);
|
||||
}
|
||||
}
|
||||
@@ -111,7 +111,7 @@ public class ExTimedHuntingZoneEnter implements IClientIncomingPacket
|
||||
{
|
||||
if (endTime == currentTime)
|
||||
{
|
||||
endTime = Config.TIME_LIMITED_ZONE_INITIAL_TIME;
|
||||
endTime += Config.TIME_LIMITED_ZONE_INITIAL_TIME;
|
||||
player.getVariables().set(PlayerVariables.HUNTING_ZONE_ENTRY + _zoneId, currentTime);
|
||||
}
|
||||
}
|
||||
|
@@ -103,7 +103,7 @@ public class ExTimedHuntingZoneEnter implements IClientIncomingPacket
|
||||
{
|
||||
if (endTime == currentTime)
|
||||
{
|
||||
endTime = Config.TIME_LIMITED_ZONE_INITIAL_TIME_WEEKLY;
|
||||
endTime += Config.TIME_LIMITED_ZONE_INITIAL_TIME_WEEKLY;
|
||||
player.getVariables().set(PlayerVariables.HUNTING_ZONE_ENTRY + _zoneId, currentTime);
|
||||
}
|
||||
}
|
||||
@@ -111,7 +111,7 @@ public class ExTimedHuntingZoneEnter implements IClientIncomingPacket
|
||||
{
|
||||
if (endTime == currentTime)
|
||||
{
|
||||
endTime = Config.TIME_LIMITED_ZONE_INITIAL_TIME;
|
||||
endTime += Config.TIME_LIMITED_ZONE_INITIAL_TIME;
|
||||
player.getVariables().set(PlayerVariables.HUNTING_ZONE_ENTRY + _zoneId, currentTime);
|
||||
}
|
||||
}
|
||||
|
@@ -96,7 +96,7 @@ public class ExTimedHuntingZoneEnter implements IClientIncomingPacket
|
||||
{
|
||||
if (endTime == currentTime)
|
||||
{
|
||||
endTime = Config.TIME_LIMITED_ZONE_INITIAL_TIME;
|
||||
endTime += Config.TIME_LIMITED_ZONE_INITIAL_TIME;
|
||||
player.getVariables().set(PlayerVariables.HUNTING_ZONE_ENTRY + _zoneId, currentTime);
|
||||
}
|
||||
}
|
||||
|
@@ -101,7 +101,7 @@ public class ExTimedHuntingZoneEnter implements IClientIncomingPacket
|
||||
{
|
||||
if (endTime == currentTime)
|
||||
{
|
||||
endTime = Config.TIME_LIMITED_ZONE_INITIAL_TIME;
|
||||
endTime += Config.TIME_LIMITED_ZONE_INITIAL_TIME;
|
||||
player.getVariables().set(PlayerVariables.HUNTING_ZONE_ENTRY + _zoneId, currentTime);
|
||||
}
|
||||
}
|
||||
|
@@ -101,7 +101,7 @@ public class ExTimedHuntingZoneEnter implements IClientIncomingPacket
|
||||
{
|
||||
if (endTime == currentTime)
|
||||
{
|
||||
endTime = Config.TIME_LIMITED_ZONE_INITIAL_TIME;
|
||||
endTime += Config.TIME_LIMITED_ZONE_INITIAL_TIME;
|
||||
player.getVariables().set(PlayerVariables.HUNTING_ZONE_ENTRY + _zoneId, currentTime);
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user