More protected replacements.

This commit is contained in:
MobiusDev
2016-01-29 15:32:47 +00:00
parent 9f74036626
commit c09085f2b4
14 changed files with 41 additions and 39 deletions

View File

@@ -35,7 +35,7 @@ import ai.npc.AbstractNpcAI;
final class Parade extends AbstractNpcAI
{
// @formatter:off
protected final int[] ACTORS =
final int[] ACTORS =
{
32379, 0, 32379,
32379, 0, 32379,
@@ -141,13 +141,13 @@ final class Parade extends AbstractNpcAI
_log.info("Fantasy Isle: Parade starting at " + format.format(System.currentTimeMillis() + diff) + " and is scheduled each next " + (cycle / 3600000) + " hours.");
}
protected void load()
void load()
{
npcIndex = 0;
spawns = new CopyOnWriteArrayList<>();
}
protected void clean()
void clean()
{
if (spawns != null)
{

View File

@@ -60,7 +60,7 @@ final class BeastFarm extends AbstractNpcAI
18872
};
private static final int TAME_CHANCE = 20;
protected static final int[] SPECIAL_SPICE_CHANCES =
static final int[] SPECIAL_SPICE_CHANCES =
{
33,
75

View File

@@ -38,7 +38,7 @@ import ai.npc.AbstractNpcAI;
final class DenOfEvil extends AbstractNpcAI
{
// private static final int _buffer_id = 32656;
protected static final int[] EYE_IDS =
static final int[] EYE_IDS =
{
18812,
18813,

View File

@@ -56,7 +56,7 @@ final class PolymorphingOnAttack extends AbstractNpcAI
MOBSPAWNS.put(21537, Arrays.asList(21538, 100, 30, -1)); // Fang of Splendor
}
protected static final NpcStringId[][] MOBTEXTS =
private static final NpcStringId[][] MOBTEXTS =
{
new NpcStringId[]
{

View File

@@ -105,22 +105,22 @@ final class SelMahumDrill extends AbstractNpcAI
_repeatInterval = repeatInterval;
}
protected int getSocialActionId()
int getSocialActionId()
{
return _socialActionId;
}
protected int getAltSocialActionId()
int getAltSocialActionId()
{
return _altSocialActionId;
}
protected int getRepeatCount()
int getRepeatCount()
{
return _repeatCount;
}
protected int getRepeatInterval()
int getRepeatInterval()
{
return _repeatInterval;
}

View File

@@ -85,7 +85,7 @@ final class MentorGuide extends AbstractNpcAI implements IXmlReader
new SkillHolder(9233, 1), // Mentor's Guidance
};
protected static final SkillHolder[] MENTOR_BUFFS =
private static final SkillHolder[] MENTOR_BUFFS =
{
new SkillHolder(9256, 1), // Mentee's Appreciation;
};

View File

@@ -34,7 +34,7 @@ class NpcBufferAI implements Runnable
private final L2Npc _npc;
private final NpcBufferSkillData _skillData;
protected NpcBufferAI(L2Npc npc, NpcBufferSkillData skill)
NpcBufferAI(L2Npc npc, NpcBufferSkillData skill)
{
_npc = npc;
_skillData = skill;

View File

@@ -36,7 +36,7 @@ class NpcBuffersData implements IXmlReader
{
private final Map<Integer, NpcBufferData> _npcBuffers = new HashMap<>();
protected NpcBuffersData()
NpcBuffersData()
{
load();
}