View difference between Paste ID: aPnbCQ1T and gJEWRV8c
SHOW: | | - or go back to the newest paste.
1
### Eclipse Workspace Patch 1.0
2
#P aCis_gameserver
3
Index: java/net/sf/l2j/gameserver/model/olympiad/Olympiad.java
4
===================================================================
5
--- java/net/sf/l2j/gameserver/model/olympiad/Olympiad.java	(revision 47)
6
+++ java/net/sf/l2j/gameserver/model/olympiad/Olympiad.java	(working copy)
7
@@ -489,8 +489,8 @@
8
 		Broadcast.toAllOnlinePlayers(SystemMessage.getSystemMessage(SystemMessageId.OLYMPIAD_PERIOD_S1_HAS_STARTED).addNumber(_currentCycle));
9
 		
10
 		Calendar currentTime = Calendar.getInstance();
11
-		currentTime.add(Calendar.MONTH, 1);
12
-		currentTime.set(Calendar.DAY_OF_MONTH, 1);
13
+		currentTime.add(Calendar.WEEK_OF_MONTH, 1);
14
+		currentTime.set(Calendar.DAY_OF_WEEK, Calendar.FRIDAY);
15
 		currentTime.set(Calendar.AM_PM, Calendar.AM);
16
 		currentTime.set(Calendar.HOUR, 12);
17
 		currentTime.set(Calendar.MINUTE, 0);