From: yoriy <yo...@us...> - 2012-07-22 11:02:07
|
Update of /cvsroot/arianne/stendhal/src/games/stendhal/server/entity/npc/fsm In directory vz-cvs-4.sog:/tmp/cvs-serv20451/src/games/stendhal/server/entity/npc/fsm Modified Files: Engine.java Log Message: added some debug messages Index: Engine.java =================================================================== RCS file: /cvsroot/arianne/stendhal/src/games/stendhal/server/entity/npc/fsm/Engine.java,v retrieving revision 1.68 retrieving revision 1.69 diff -C2 -d -r1.68 -r1.69 *** Engine.java 20 Jul 2012 13:55:23 -0000 1.68 --- Engine.java 22 Jul 2012 11:02:04 -0000 1.69 *************** *** 80,83 **** --- 80,84 ---- private Transition get(final String label) { if (label.equals("")) { + logger.debug("will not search for empty label"); return null; } *************** *** 87,90 **** --- 88,92 ---- } } + logger.debug("label not found"); return null; } *************** *** 320,323 **** --- 322,326 ---- final Transition tr = get(label); if (tr==null) { + logger.debug("No such transition with label \""+label+"\" in fsm."); return false; } |