DisableTutorial config now works for all tutorial quests.
This commit is contained in:
@@ -16,6 +16,7 @@
|
||||
*/
|
||||
package quests.Q10390_KekropusLetter;
|
||||
|
||||
import com.l2jmobius.Config;
|
||||
import com.l2jmobius.gameserver.ai.CtrlIntention;
|
||||
import com.l2jmobius.gameserver.cache.HtmCache;
|
||||
import com.l2jmobius.gameserver.enums.Race;
|
||||
@@ -293,6 +294,10 @@ public class Q10390_KekropusLetter extends Quest implements IBypassHandler
|
||||
@RegisterType(ListenerRegisterType.GLOBAL)
|
||||
public void OnPlayerLevelChanged(OnPlayerLevelChanged event)
|
||||
{
|
||||
if (Config.DISABLE_TUTORIAL)
|
||||
{
|
||||
return;
|
||||
}
|
||||
final L2PcInstance player = event.getActiveChar();
|
||||
if ((player.getLevel() >= MIN_LEVEL) && (player.getLevel() <= MAX_LEVEL) && (player.getRace() != Race.ERTHEIA))
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user