소스 검색

BETA: Changing again, hopefully will be fine now, thanks jurchiks for report.

Zoey76 13 년 전
부모
커밋
efd28053c4
1개의 변경된 파일3개의 추가작업 그리고 3개의 파일을 삭제
  1. 3 3
      L2J_Server_BETA/java/com/l2jserver/gameserver/model/quest/QuestState.java

+ 3 - 3
L2J_Server_BETA/java/com/l2jserver/gameserver/model/quest/QuestState.java

@@ -173,10 +173,11 @@ public final class QuestState
 		{
 			return false;
 		}
-		
+		final boolean newQuest = isCreated(); 
+		_state = state;
 		if (saveInDb)
 		{
-			if (isCreated())
+			if (newQuest)
 			{
 				Quest.createQuestInDb(this);
 			}
@@ -186,7 +187,6 @@ public final class QuestState
 			}
 		}
 		
-		_state = state;
 		_player.sendPacket(new QuestList());
 		return true;
 	}