Separated the Classic Datapack to it's own folder.
This commit is contained in:
@ -20,7 +20,6 @@ package handlers.admincommandhandlers;
|
||||
|
||||
import java.util.StringTokenizer;
|
||||
|
||||
import com.l2jserver.Config;
|
||||
import com.l2jserver.gameserver.data.xml.impl.ExperienceData;
|
||||
import com.l2jserver.gameserver.handler.IAdminCommandHandler;
|
||||
import com.l2jserver.gameserver.model.L2Object;
|
||||
@ -65,7 +64,7 @@ public class AdminLevel implements IAdminCommandHandler
|
||||
}
|
||||
else if (actualCommand.equalsIgnoreCase("admin_set_level"))
|
||||
{
|
||||
final int maxLevel = Config.SERVER_CLASSIC_SUPPORT ? Config.MAX_CLASSIC_PLAYER_LEVEL : ExperienceData.getInstance().getMaxLevel();
|
||||
final int maxLevel = ExperienceData.getInstance().getMaxLevel();
|
||||
try
|
||||
{
|
||||
if (!(targetChar instanceof L2PcInstance))
|
||||
|
Reference in New Issue
Block a user