Fishing level check should not affect Classic.

Just in case it is used in the future.
This commit is contained in:
MobiusDev 2015-05-17 16:54:59 +00:00
parent 5fbcd41959
commit 07d6b9e74d
2 changed files with 2 additions and 2 deletions

View File

@ -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;

View File

@ -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));
} }
} }
} }