Advertisement
Guest User

Untitled

a guest
Jul 13th, 2016
1,045
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.86 KB | None | 0 0
  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);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement