Skip to content
Browse files

changed debug output

  • Loading branch information...
1 parent 718393f commit 0c262e37e04706e540fb6e16a5f555bfc082ddbf Calle Lejdbrandt committed Jun 5, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/cnt/network/GameNetworking.java
View
2 src/cnt/network/GameNetworking.java
@@ -124,7 +124,7 @@ else if (packet.getMessage() instanceof Whisper)
//if(blackboardMessage.checkIntegrity() == Boolean.FALSE)
//return;
- System.err.println("\033[1;33mGameNetworking: Correct type: " + (blackboardMessage instanceof FullUpdate ? "\033[1;32mOK\033[0m" : "\033[1;31mNO: " + blackboardMessage.getClass() + "\033[0m"));
+ System.err.println("\033[1;33mGameNetworking: Correct type: " + (blackboardMessage instanceof Blackboard.BlackboardMessage ? "\033[1;32mOK\033[0m" : "\033[1;31mNO: " + blackboardMessage.getClass() + "\033[0m"));
if (blackboardMessage instanceof FullUpdate)
{
final FullUpdate update = (FullUpdate)blackboardMessage;

0 comments on commit 0c262e3

Please sign in to comment.
Something went wrong with that request. Please try again.