Fishing level check should not affect Classic.
Just in case it is used in the future.
This commit is contained in:
parent
5fbcd41959
commit
07d6b9e74d
@ -134,7 +134,7 @@ public final class Fishing extends AbstractEffect
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (player.getLevel() < 85)
|
if (!Config.SERVER_CLASSIC_SUPPORT && (player.getLevel() < 85))
|
||||||
{
|
{
|
||||||
player.sendMessage("You must be level 85 or higher to fish.");
|
player.sendMessage("You must be level 85 or higher to fish.");
|
||||||
return;
|
return;
|
||||||
|
@ -64,7 +64,7 @@ public class L2FishingZone extends L2ZoneType
|
|||||||
final L2PcInstance plr = (L2PcInstance) character;
|
final L2PcInstance plr = (L2PcInstance) character;
|
||||||
if (!_task.containsKey(plr.getObjectId()))
|
if (!_task.containsKey(plr.getObjectId()))
|
||||||
{
|
{
|
||||||
_task.put(plr.getObjectId(), ThreadPoolManager.getInstance().scheduleGeneralAtFixedRate(new FishReq(plr), 100, 2000));
|
_task.put(plr.getObjectId(), ThreadPoolManager.getInstance().scheduleGeneralAtFixedRate(new FishReq(plr), 500, 2000));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user