Permalink
Browse files

Avoid double console output.

  • Loading branch information...
1 parent e958f92 commit 70f364bc4a25b5e62cffafc3d67d49aeb268da59 @mkalus committed Apr 18, 2012
Showing with 4 additions and 4 deletions.
  1. +4 −4 src/main/java/de/beimax/simplespleef/game/GameStandard.java
@@ -1569,10 +1569,10 @@ public void sendMessage(String message, boolean broadcast) {
for (Player player : this.spectators) {
player.sendMessage(message);
}
- }
- // send to console, too?
- if (SimpleSpleef.getPlugin().getConfig().getBoolean("settings.sendMessagesToConsole", true)) {
- SimpleSpleef.getPlugin().getServer().getConsoleSender().sendMessage(message);
+ // send to console, too?
+ if (SimpleSpleef.getPlugin().getConfig().getBoolean("settings.sendMessagesToConsole", true)) {
+ SimpleSpleef.getPlugin().getServer().getConsoleSender().sendMessage(message);
+ }
}
}

0 comments on commit 70f364b

Please sign in to comment.