Disable Tutorial config.
This commit is contained in:
@@ -16,6 +16,7 @@
|
||||
*/
|
||||
package quests;
|
||||
|
||||
import com.l2jmobius.Config;
|
||||
import com.l2jmobius.gameserver.enums.HtmlActionScope;
|
||||
import com.l2jmobius.gameserver.enums.QuestSound;
|
||||
import com.l2jmobius.gameserver.enums.Race;
|
||||
@@ -200,6 +201,11 @@ public abstract class LetterQuest extends Quest
|
||||
@RegisterType(ListenerRegisterType.GLOBAL_PLAYERS)
|
||||
public void OnPlayerLevelChanged(OnPlayerLevelChanged event)
|
||||
{
|
||||
if (Config.DISABLE_TUTORIAL)
|
||||
{
|
||||
return;
|
||||
}
|
||||
|
||||
final L2PcInstance player = event.getActiveChar();
|
||||
final QuestState st = getQuestState(player, false);
|
||||
|
||||
@@ -215,6 +221,11 @@ public abstract class LetterQuest extends Quest
|
||||
@RegisterType(ListenerRegisterType.GLOBAL_PLAYERS)
|
||||
public void OnPlayerLogin(OnPlayerLogin event)
|
||||
{
|
||||
if (Config.DISABLE_TUTORIAL)
|
||||
{
|
||||
return;
|
||||
}
|
||||
|
||||
final L2PcInstance player = event.getActiveChar();
|
||||
final QuestState st = getQuestState(player, false);
|
||||
|
||||
|
Reference in New Issue
Block a user