Disable Tutorial for Vanguard classes.
This commit is contained in:
parent
285fc2f2fe
commit
2c8e946f8c
@ -22,6 +22,8 @@ import java.util.List;
|
||||
import java.util.Map;
|
||||
|
||||
import org.l2jmobius.Config;
|
||||
import org.l2jmobius.gameserver.data.xml.CategoryData;
|
||||
import org.l2jmobius.gameserver.enums.CategoryType;
|
||||
import org.l2jmobius.gameserver.enums.HtmlActionScope;
|
||||
import org.l2jmobius.gameserver.enums.Race;
|
||||
import org.l2jmobius.gameserver.model.Location;
|
||||
@ -166,6 +168,12 @@ public class Q00255_Tutorial extends Quest
|
||||
return null;
|
||||
}
|
||||
|
||||
// Vanguard.
|
||||
if (CategoryData.getInstance().isInCategory(CategoryType.VANGUARD_ALL_CLASS, player.getClassId().getId()))
|
||||
{
|
||||
return null;
|
||||
}
|
||||
|
||||
final QuestState qs = getQuestState(player, false);
|
||||
if (qs == null)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user