summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChris Ward <chris@chrisgward.com>2012-03-03 19:21:27 +1100
committerKHobbits <rob@khobbits.co.uk>2012-03-05 08:35:48 +0000
commit38ff5906add9528a54629a83609f52ffd2e7bf02 (patch)
tree98695bdb4416d4560cd43fa1547c2b8acdb9bd69
parente6196bccae912b2190b227a21c21cb5df9ca013a (diff)
downloadEssentials-38ff5906add9528a54629a83609f52ffd2e7bf02.tar
Essentials-38ff5906add9528a54629a83609f52ffd2e7bf02.tar.gz
Essentials-38ff5906add9528a54629a83609f52ffd2e7bf02.tar.lz
Essentials-38ff5906add9528a54629a83609f52ffd2e7bf02.tar.xz
Essentials-38ff5906add9528a54629a83609f52ffd2e7bf02.zip
Cleanup
Signed-off-by: Chris Ward <chris@chrisgward.com>
-rw-r--r--Essentials/src/com/earth2me/essentials/commands/Commandessentials.java6
1 files changed, 5 insertions, 1 deletions
diff --git a/Essentials/src/com/earth2me/essentials/commands/Commandessentials.java b/Essentials/src/com/earth2me/essentials/commands/Commandessentials.java
index 0f390f4e0..56432a91f 100644
--- a/Essentials/src/com/earth2me/essentials/commands/Commandessentials.java
+++ b/Essentials/src/com/earth2me/essentials/commands/Commandessentials.java
@@ -9,6 +9,7 @@ import org.bukkit.Material;
import org.bukkit.Server;
import org.bukkit.block.Block;
import org.bukkit.command.CommandSender;
+import org.bukkit.command.ConsoleCommandSender;
import org.bukkit.entity.Player;
@@ -166,6 +167,9 @@ public class Commandessentials extends EssentialsCommand
private void run_moo(final Server server, final CommandSender sender, final String command, final String args[])
{
- sender.sendMessage(new String[]{" (__)", " (oo)", " /------\\/", " / | ||", " * /\\---/\\", " ~~ ~~", "....\"Have you mooed today?\"..." } );
+ if(sender instanceof ConsoleCommandSender)
+ sender.sendMessage(new String[]{" (__)", " (oo)", " /------\\/", " / | ||", " * /\\---/\\", " ~~ ~~", "....\"Have you mooed today?\"..." } );
+ else
+ sender.sendMessage(new String[]{" (__)", " (oo)", " /------\\/", " / | | |", " * /\\---/\\", " ~~ ~~", "....\"Have you mooed today?\"..." } );
}
}