From: Hendrik <nh...@us...> - 2007-06-30 22:10:46
|
Update of /cvsroot/arianne/stendhal/src/games/stendhal/server/events In directory sc8-pr-cvs11.sourceforge.net:/tmp/cvs-serv716/src/games/stendhal/server/events Modified Files: TutorialNotifier.java Log Message: Tutorial: Don't tell players to get dressed if they are already wearing a dress Index: TutorialNotifier.java =================================================================== RCS file: /cvsroot/arianne/stendhal/src/games/stendhal/server/events/TutorialNotifier.java,v retrieving revision 1.10 retrieving revision 1.11 diff -C2 -d -r1.10 -r1.11 *** TutorialNotifier.java 28 May 2007 13:45:53 -0000 1.10 --- TutorialNotifier.java 30 Jun 2007 22:10:46 -0000 1.11 *************** *** 120,124 **** public static void aged(Player player, int age) { if (age >= 15) { ! process(player, TutorialEventType.TIMED_NAKED); } else if (age >= 10) { // TODO: activate this after password change is implemented --- 120,126 ---- public static void aged(Player player, int age) { if (age >= 15) { ! if (player.getOutfit().isNaked()) { ! process(player, TutorialEventType.TIMED_NAKED); ! } } else if (age >= 10) { // TODO: activate this after password change is implemented |