Dropped Classic support.

This commit is contained in:
MobiusDev
2015-10-23 23:44:21 +00:00
parent d49a007f9d
commit 39f05439c3
7958 changed files with 58 additions and 782473 deletions

View File

@@ -229,7 +229,7 @@ public final class L2TeleporterInstance extends L2Npc
{
if (type == TeleportType.NORMAL)
{
if (!player.isSubClassActive() && (player.getLevel() < (Config.SERVER_CLASSIC_SUPPORT ? 1 : 77)))
if (!player.isSubClassActive() && (player.getLevel() < 77))
{
return 0;
}
@@ -247,7 +247,7 @@ public final class L2TeleporterInstance extends L2Npc
protected boolean shouldPayFee(L2PcInstance player, TeleportType type, TeleportLocation loc)
{
return (type != TeleportType.NORMAL) || (!Config.ALT_GAME_FREE_TELEPORT && ((player.getLevel() > (Config.SERVER_CLASSIC_SUPPORT ? 0 : 76)) || player.isSubClassActive()) && ((loc.getFeeId() != 0) && (loc.getFeeCount() > 0)));
return (type != TeleportType.NORMAL) || (!Config.ALT_GAME_FREE_TELEPORT && ((player.getLevel() > 76) || player.isSubClassActive()) && ((loc.getFeeId() != 0) && (loc.getFeeCount() > 0)));
}
protected int parseNextInt(StringTokenizer st, int defaultVal)

View File

@@ -480,7 +480,7 @@ public class Olympiad extends ListenersContainer
_scheduledCompStart = ThreadPoolManager.getInstance().scheduleGeneral(() ->
{
if (isOlympiadEnd() || Config.SERVER_CLASSIC_SUPPORT)
if (isOlympiadEnd())
{
return;
}

View File

@@ -54,7 +54,7 @@ public class L2FishingZone extends L2ZoneType
character.setInsideZone(ZoneId.FISHING, true);
}
if (character.isPlayer() && !Config.SERVER_CLASSIC_SUPPORT)
if (character.isPlayer())
{
final L2PcInstance plr = (L2PcInstance) character;
if (!_task.containsKey(plr.getObjectId()))