Skip to content

Commit

Permalink
Getting sick of the constant 'L' 'R' 'D' 'U' packets cluttering 80% o…
Browse files Browse the repository at this point in the history
…f the log files. We know it works, preventing it from being shown.
  • Loading branch information
gamatecal committed Mar 29, 2010
1 parent 85d2db3 commit 6207207
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,9 @@ public void exceptionCaught(IoSession session, Throwable t)
public void messageReceived(IoSession session, Object msg) throws Exception {
String message = (String) msg;
String [] details;
System.out.println(message);
if (!message.equals("L") && !message.equals("R") && !message.equals("D") && !message.equals("U")) {
System.out.println(message);
}
if(session.getAttribute("player") == null) {
/*
* The player hasn't been logged in, only allow login and registration packets
Expand Down

0 comments on commit 6207207

Please sign in to comment.