Update of /cvsroot/arianne/stendhal/tests/games/stendhal/server/maps/quests
In directory sfp-cvs-1.v30.ch3.sourceforge.com:/tmp/cvs-serv15720/tests/games/stendhal/server/maps/quests
Modified Files:
KillSpidersTest.java
Log Message:
Add a dummy list of sounds to the dummy creature to avoid NPE when it's cloned
Index: KillSpidersTest.java
===================================================================
RCS file: /cvsroot/arianne/stendhal/tests/games/stendhal/server/maps/quests/KillSpidersTest.java,v
retrieving revision 1.17
retrieving revision 1.18
diff -C2 -d -r1.17 -r1.18
*** KillSpidersTest.java 29 Dec 2010 18:38:26 -0000 1.17
--- KillSpidersTest.java 19 Jan 2013 21:50:38 -0000 1.18
***************
*** 84,87 ****
--- 84,88 ----
creature.setAtkXP(1);
creature.setDefXP(1);
+ creature.setSounds(new LinkedList<String>());
final Creature spider = new Creature(creature);
spider.registerObjectsForNotification(observer);
|