Do not use switch for less than three cases.
This commit is contained in:
@@ -228,13 +228,9 @@ public class Q11019_TribalBenefit extends Quest
|
|||||||
{
|
{
|
||||||
if (npc.getId() == NEWBIE_GUIDE)
|
if (npc.getId() == NEWBIE_GUIDE)
|
||||||
{
|
{
|
||||||
switch (qs.getCond())
|
if (qs.isCond(1))
|
||||||
{
|
|
||||||
case 1:
|
|
||||||
{
|
{
|
||||||
htmltext = "30602-02a.html";
|
htmltext = "30602-02a.html";
|
||||||
break;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user