Added missing final modifiers.

This commit is contained in:
MobiusDev
2015-12-26 12:03:36 +00:00
parent cc92e5d062
commit e0d681a17e
974 changed files with 5919 additions and 5917 deletions

View File

@@ -107,7 +107,7 @@ public class Q00464_Oath extends Quest
return getNoQuestMsg(player);
}
int cond = getRandom(2, 9);
final int cond = getRandom(2, 9);
st.set("npc", String.valueOf(NPC[cond - 1][0]));
st.setCond(cond, true);
st.takeItems(BOOK, 1);
@@ -146,7 +146,7 @@ public class Q00464_Oath extends Quest
return getNoQuestMsg(player);
}
int i = st.getCond() - 1;
final int i = st.getCond() - 1;
st.addExpAndSp(NPC[i][1], NPC[i][2]);
st.giveAdena(NPC[i][3], true);
st.exitQuest(QuestType.DAILY, true);
@@ -226,7 +226,7 @@ public class Q00464_Oath extends Quest
if ((st != null) && st.isStarted())
{
int npcId = npc.getId();
final int npcId = npc.getId();
if (npcId == NPC[0][0])
{