[jetrix-cvs] jetrix/src/java/net/jetrix/commands IpCommand.java,1.16,1.17 KickCommand.java,1.14,1.15
Brought to you by:
smanux
From: Emmanuel B. <sm...@us...> - 2005-05-03 17:30:16
|
Update of /cvsroot/jetrix/jetrix/src/java/net/jetrix/commands In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv31103/net/jetrix/commands Modified Files: IpCommand.java KickCommand.java ReplyCommand.java SummonCommand.java TeleportCommand.java TellCommand.java Log Message: Added a new constructor to PlineMessage Index: TeleportCommand.java =================================================================== RCS file: /cvsroot/jetrix/jetrix/src/java/net/jetrix/commands/TeleportCommand.java,v retrieving revision 1.15 retrieving revision 1.16 diff -C2 -d -r1.15 -r1.16 *** TeleportCommand.java 9 Dec 2004 12:35:19 -0000 1.15 --- TeleportCommand.java 3 May 2005 17:29:48 -0000 1.16 *************** *** 63,69 **** { // no player found ! PlineMessage response = new PlineMessage(); ! response.setKey("command.player_not_found", targetName); ! client.send(response); } else --- 63,67 ---- { // no player found ! client.send(new PlineMessage("command.player_not_found", targetName)); } else Index: SummonCommand.java =================================================================== RCS file: /cvsroot/jetrix/jetrix/src/java/net/jetrix/commands/SummonCommand.java,v retrieving revision 1.14 retrieving revision 1.15 diff -C2 -d -r1.14 -r1.15 *** SummonCommand.java 9 Dec 2004 12:35:19 -0000 1.14 --- SummonCommand.java 3 May 2005 17:29:48 -0000 1.15 *************** *** 64,70 **** { // no player found ! PlineMessage response = new PlineMessage(); ! response.setKey("command.player_not_found", targetName); ! client.send(response); } else --- 64,68 ---- { // no player found ! client.send(new PlineMessage("command.player_not_found", targetName)); } else Index: TellCommand.java =================================================================== RCS file: /cvsroot/jetrix/jetrix/src/java/net/jetrix/commands/TellCommand.java,v retrieving revision 1.19 retrieving revision 1.20 diff -C2 -d -r1.19 -r1.20 *** TellCommand.java 9 Dec 2004 12:35:19 -0000 1.19 --- TellCommand.java 3 May 2005 17:29:48 -0000 1.20 *************** *** 58,64 **** { // no player found ! PlineMessage response = new PlineMessage(); ! response.setKey("command.player_not_found", targetName); ! client.send(response); } else --- 58,62 ---- { // no player found ! client.send(new PlineMessage("command.player_not_found", targetName)); } else Index: KickCommand.java =================================================================== RCS file: /cvsroot/jetrix/jetrix/src/java/net/jetrix/commands/KickCommand.java,v retrieving revision 1.14 retrieving revision 1.15 diff -C2 -d -r1.14 -r1.15 *** KickCommand.java 9 Dec 2004 12:35:04 -0000 1.14 --- KickCommand.java 3 May 2005 17:29:48 -0000 1.15 *************** *** 64,70 **** { // no player found ! PlineMessage response = new PlineMessage(); ! response.setKey("command.player_not_found", targetName); ! client.send(response); } else --- 64,68 ---- { // no player found ! client.send(new PlineMessage("command.player_not_found", targetName)); } else Index: ReplyCommand.java =================================================================== RCS file: /cvsroot/jetrix/jetrix/src/java/net/jetrix/commands/ReplyCommand.java,v retrieving revision 1.12 retrieving revision 1.13 diff -C2 -d -r1.12 -r1.13 *** ReplyCommand.java 16 Dec 2004 15:38:28 -0000 1.12 --- ReplyCommand.java 3 May 2005 17:29:48 -0000 1.13 *************** *** 68,74 **** { // previous user no longer connected ! PlineMessage response = new PlineMessage(); ! response.setKey("command.player_not_found", targetName); ! client.send(response); } else --- 68,72 ---- { // previous user no longer connected ! client.send(new PlineMessage("command.player_not_found", targetName)); } else Index: IpCommand.java =================================================================== RCS file: /cvsroot/jetrix/jetrix/src/java/net/jetrix/commands/IpCommand.java,v retrieving revision 1.16 retrieving revision 1.17 diff -C2 -d -r1.16 -r1.17 *** IpCommand.java 9 Dec 2004 12:35:04 -0000 1.16 --- IpCommand.java 3 May 2005 17:29:47 -0000 1.17 *************** *** 63,69 **** { // no player found ! PlineMessage response = new PlineMessage(); ! response.setKey("command.player_not_found", targetName); ! client.send(response); } else --- 63,67 ---- { // no player found ! client.send(new PlineMessage("command.player_not_found", targetName)); } else |