Various unnecessary code changes.
This commit is contained in:
@@ -77,7 +77,7 @@ public class AdminHtml implements IAdminCommandHandler
|
||||
* @param activeChar activeChar where html is shown
|
||||
* @param path relative path from directory data/html/admin/ to html
|
||||
*/
|
||||
public static void showAdminHtml(L2PcInstance activeChar, String path)
|
||||
static void showAdminHtml(L2PcInstance activeChar, String path)
|
||||
{
|
||||
showHtml(activeChar, "data/html/admin/" + path, false);
|
||||
}
|
||||
@@ -88,7 +88,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)
|
||||
|
@@ -40,7 +40,7 @@ import com.l2jmobius.gameserver.util.Util;
|
||||
|
||||
public class AdminQuest implements IAdminCommandHandler
|
||||
{
|
||||
public static final Logger LOGGER = Logger.getLogger(AdminQuest.class.getName());
|
||||
private static final Logger LOGGER = Logger.getLogger(AdminQuest.class.getName());
|
||||
|
||||
private static final String[] ADMIN_COMMANDS =
|
||||
{
|
||||
|
@@ -26,7 +26,7 @@ import com.l2jmobius.gameserver.util.BuilderUtil;
|
||||
*/
|
||||
public class AdminSummon implements IAdminCommandHandler
|
||||
{
|
||||
public static final String[] ADMIN_COMMANDS =
|
||||
private static final String[] ADMIN_COMMANDS =
|
||||
{
|
||||
"admin_summon"
|
||||
};
|
||||
|
@@ -29,7 +29,7 @@ import com.l2jmobius.gameserver.model.skills.Skill;
|
||||
*/
|
||||
public final class AdminSuperHaste implements IAdminCommandHandler
|
||||
{
|
||||
public static final String[] ADMIN_COMMANDS =
|
||||
static final String[] ADMIN_COMMANDS =
|
||||
{
|
||||
"admin_superhaste",
|
||||
"admin_superhaste_menu",
|
||||
|
@@ -53,16 +53,16 @@ public class DropSearchBoard implements IParseBoardHandler
|
||||
"_bbs_npc_trace"
|
||||
};
|
||||
|
||||
class CBDropHolder
|
||||
private class CBDropHolder
|
||||
{
|
||||
int itemId;
|
||||
int npcId;
|
||||
byte npcLevel;
|
||||
long min;
|
||||
long max;
|
||||
double chance;
|
||||
boolean isSpoil;
|
||||
boolean isRaid;
|
||||
final int itemId;
|
||||
final int npcId;
|
||||
final byte npcLevel;
|
||||
final long min;
|
||||
final long max;
|
||||
final double chance;
|
||||
final boolean isSpoil;
|
||||
final boolean isRaid;
|
||||
|
||||
public CBDropHolder(L2NpcTemplate npcTemplate, DropHolder dropHolder)
|
||||
{
|
||||
|
@@ -60,7 +60,7 @@ public final class TriggerSkillByDamage extends AbstractEffect
|
||||
_attackerType = params.getEnum("attackerType", InstanceType.class, InstanceType.L2Character);
|
||||
}
|
||||
|
||||
public void onDamageReceivedEvent(OnCreatureDamageReceived event)
|
||||
private void onDamageReceivedEvent(OnCreatureDamageReceived event)
|
||||
{
|
||||
if (event.isDamageOverTime() || (_chance == 0) || (_skill.getSkillLevel() == 0))
|
||||
{
|
||||
|
@@ -57,7 +57,7 @@ public class PetFood implements IItemHandler
|
||||
return true;
|
||||
}
|
||||
|
||||
public boolean useFood(L2Playable activeChar, int skillId, int skillLevel, L2ItemInstance item)
|
||||
private boolean useFood(L2Playable activeChar, int skillId, int skillLevel, L2ItemInstance item)
|
||||
{
|
||||
final Skill skill = SkillData.getInstance().getSkill(skillId, skillLevel);
|
||||
if (skill != null)
|
||||
|
@@ -251,7 +251,7 @@ public class Debug implements ITelnetCommand
|
||||
throw new IllegalStateException("Deadlocked Thread not found");
|
||||
}
|
||||
|
||||
public static String getServerStatus()
|
||||
static String getServerStatus()
|
||||
{
|
||||
int playerCount = 0, objectCount = 0;
|
||||
final int max = LoginServerThread.getInstance().getMaxPlayer();
|
||||
|
@@ -44,11 +44,6 @@ public class AutoPotion implements IVoicedCommandHandler
|
||||
"apoff"
|
||||
};
|
||||
|
||||
public static AutoPotion getInstance()
|
||||
{
|
||||
return null;
|
||||
}
|
||||
|
||||
@Override
|
||||
public boolean useVoicedCommand(String command, L2PcInstance activeChar, String target)
|
||||
{
|
||||
|
Reference in New Issue
Block a user