Przeglądaj źródła

Small Typo fix. Thx Kerberos

Fulminus 17 lat temu
rodzic
commit
08007f8a14

+ 1 - 1
L2_GameServer_T1/java/net/sf/l2j/gameserver/model/actor/instance/L2NpcInstance.java

@@ -666,7 +666,7 @@ public class L2NpcInstance extends L2Character
                     else
                     {
                     	Quest[] qlsa = getTemplate().getEventQuests(Quest.QuestEventType.QUEST_START);
-                    	if ( (qlsa != null) && qlsa.length == 1)
+                    	if ( (qlsa != null) && qlsa.length > 0)
                     		player.setLastQuestNpcObject(getNpcId());
                         Quest[] qlst = getTemplate().getEventQuests(Quest.QuestEventType.ON_FIRST_TALK);
                         if ( (qlst != null) && qlst.length == 1)