From: Martin F. <mar...@us...> - 2008-01-06 21:32:40
|
Update of /cvsroot/arianne/stendhal/src/games/stendhal/server/util In directory sc8-pr-cvs11.sourceforge.net:/tmp/cvs-serv9753/src/games/stendhal/server/util Modified Files: EntityHelper.java Log Message: disable player name lookup for /attack, /look, /move, /own and /use as work around for 1864205 Index: EntityHelper.java =================================================================== RCS file: /cvsroot/arianne/stendhal/src/games/stendhal/server/util/EntityHelper.java,v retrieving revision 1.7 retrieving revision 1.8 diff -C2 -d -r1.7 -r1.8 *** EntityHelper.java 4 Jan 2008 19:20:12 -0000 1.7 --- EntityHelper.java 6 Jan 2008 21:32:44 -0000 1.8 *************** *** 1,5 **** package games.stendhal.server.util; - import games.stendhal.server.core.engine.StendhalRPRuleProcessor; import games.stendhal.server.core.engine.StendhalRPZone; import games.stendhal.server.entity.Entity; --- 1,4 ---- *************** *** 49,55 **** } ! if (entity == null) { ! entity = StendhalRPRuleProcessor.get().getPlayer(target); ! } if (entity == null) { --- 48,55 ---- } ! // player name lookup disabled as work around for 1864205 ! // if (entity == null) { ! // entity = StendhalRPRuleProcessor.get().getPlayer(target); ! // } if (entity == null) { |