Visibility changes.
This commit is contained in:
@ -438,7 +438,7 @@ public class AdminAdmin implements IAdminCommandHandler
|
||||
AdminHtml.showAdminHtml(activeChar, filename + "_menu.htm");
|
||||
}
|
||||
|
||||
public void showConfigPage(L2PcInstance activeChar)
|
||||
private void showConfigPage(L2PcInstance activeChar)
|
||||
{
|
||||
final NpcHtmlMessage adminReply = new NpcHtmlMessage();
|
||||
final StringBuilder replyMSG = new StringBuilder("<html><title>L2J :: Config</title><body>");
|
||||
|
@ -213,7 +213,7 @@ public class AdminBuffs implements IAdminCommandHandler
|
||||
* @param gmchar the player to switch the Game Master skills.
|
||||
* @param toAuraSkills if {@code true} it will remove "GM Aura" skills and add "GM regular" skills, vice versa if {@code false}.
|
||||
*/
|
||||
public static void switchSkills(L2PcInstance gmchar, boolean toAuraSkills)
|
||||
private static void switchSkills(L2PcInstance gmchar, boolean toAuraSkills)
|
||||
{
|
||||
final Collection<Skill> skills = toAuraSkills ? SkillTreesData.getInstance().getGMSkillTree().values() : SkillTreesData.getInstance().getGMAuraSkillTree().values();
|
||||
for (Skill skill : skills)
|
||||
@ -229,7 +229,7 @@ public class AdminBuffs implements IAdminCommandHandler
|
||||
return ADMIN_COMMANDS;
|
||||
}
|
||||
|
||||
public static void showBuffs(L2PcInstance activeChar, L2Character target, int page, boolean passive)
|
||||
private static void showBuffs(L2PcInstance activeChar, L2Character target, int page, boolean passive)
|
||||
{
|
||||
final List<BuffInfo> effects = new ArrayList<>();
|
||||
if (!passive)
|
||||
|
@ -465,7 +465,7 @@ public class AdminEventEngine implements IAdminCommandHandler
|
||||
return note + result.toString();
|
||||
}
|
||||
|
||||
public void showMainPage(L2PcInstance activeChar)
|
||||
private void showMainPage(L2PcInstance activeChar)
|
||||
{
|
||||
final NpcHtmlMessage adminReply = new NpcHtmlMessage();
|
||||
|
||||
@ -474,7 +474,7 @@ public class AdminEventEngine implements IAdminCommandHandler
|
||||
activeChar.sendPacket(adminReply);
|
||||
}
|
||||
|
||||
public void showNewEventPage(L2PcInstance activeChar)
|
||||
private void showNewEventPage(L2PcInstance activeChar)
|
||||
{
|
||||
final NpcHtmlMessage adminReply = new NpcHtmlMessage();
|
||||
|
||||
@ -515,7 +515,7 @@ public class AdminEventEngine implements IAdminCommandHandler
|
||||
activeChar.sendPacket(adminReply);
|
||||
}
|
||||
|
||||
public void showEventParameters(L2PcInstance activeChar, int teamnumbers)
|
||||
private void showEventParameters(L2PcInstance activeChar, int teamnumbers)
|
||||
{
|
||||
final NpcHtmlMessage adminReply = new NpcHtmlMessage();
|
||||
final StringBuilder sb = new StringBuilder();
|
||||
|
@ -76,7 +76,7 @@ public class AdminHtml implements IAdminCommandHandler
|
||||
* @param activeChar activeChar where html is shown
|
||||
* @param path relative path from directory html/admin/ to html
|
||||
*/
|
||||
public static void showAdminHtml(L2PcInstance activeChar, String path)
|
||||
static void showAdminHtml(L2PcInstance activeChar, String path)
|
||||
{
|
||||
showHtml(activeChar, "html/admin/" + path, false);
|
||||
}
|
||||
@ -87,7 +87,7 @@ public class AdminHtml implements IAdminCommandHandler
|
||||
* @param path relative path from Config.DATAPACK_ROOT to html.
|
||||
* @param reload {@code true} will reload html and show it {@code false} will show it from cache.
|
||||
*/
|
||||
public static void showHtml(L2PcInstance activeChar, String path, boolean reload)
|
||||
private static void showHtml(L2PcInstance activeChar, String path, boolean reload)
|
||||
{
|
||||
String content = null;
|
||||
if (!reload)
|
||||
|
@ -38,8 +38,7 @@ public class AdminMonsterRace implements IAdminCommandHandler
|
||||
{
|
||||
"admin_mons"
|
||||
};
|
||||
|
||||
protected static int state = -1;
|
||||
static int state = -1;
|
||||
|
||||
@Override
|
||||
public boolean useAdminCommand(String command, L2PcInstance activeChar)
|
||||
@ -113,12 +112,12 @@ public class AdminMonsterRace implements IAdminCommandHandler
|
||||
}
|
||||
}
|
||||
|
||||
class RunRace implements Runnable
|
||||
private class RunRace implements Runnable
|
||||
{
|
||||
private final int[][] codes;
|
||||
private final L2PcInstance activeChar;
|
||||
|
||||
public RunRace(int[][] pCodes, L2PcInstance pActiveChar)
|
||||
RunRace(int[][] pCodes, L2PcInstance pActiveChar)
|
||||
{
|
||||
codes = pCodes;
|
||||
activeChar = pActiveChar;
|
||||
|
@ -30,7 +30,7 @@ public class AdminSummon implements IAdminCommandHandler
|
||||
{
|
||||
private static final Logger _log = Logger.getLogger(AdminSummon.class.getName());
|
||||
|
||||
public static final String[] ADMIN_COMMANDS =
|
||||
private static final String[] ADMIN_COMMANDS =
|
||||
{
|
||||
"admin_summon"
|
||||
};
|
||||
|
Reference in New Issue
Block a user