From: Astrid S. <ast...@us...> - 2009-03-14 19:51:00
|
Update of /cvsroot/arianne/stendhal/src/games/stendhal/server/entity/item/scroll In directory 23jxhf1.ch3.sourceforge.com:/tmp/cvs-serv17410/src/games/stendhal/server/entity/item/scroll Modified Files: EmptyScroll.java Log Message: refactored onequip et al. moved all logic into rpentity removed actionManager interface and DefaultactionManage (one singleton gone, yay) Index: EmptyScroll.java =================================================================== RCS file: /cvsroot/arianne/stendhal/src/games/stendhal/server/entity/item/scroll/EmptyScroll.java,v retrieving revision 1.20 retrieving revision 1.21 diff -C2 -d -r1.20 -r1.21 *** EmptyScroll.java 10 Mar 2009 10:31:26 -0000 1.20 --- EmptyScroll.java 14 Mar 2009 19:50:53 -0000 1.21 *************** *** 65,69 **** markedScroll.setInfoString(player.getID().getZoneID() + " " + player.getX() + " " + player.getY()); ! player.equip(markedScroll, true); return true; } else { --- 65,69 ---- markedScroll.setInfoString(player.getID().getZoneID() + " " + player.getX() + " " + player.getY()); ! player.equipOrPutOnGround(markedScroll); return true; } else { |