summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChris Ward <chris@chrisgward.com>2012-03-03 18:07:43 +1100
committerChris Ward <chris@chrisgward.com>2012-03-03 18:07:43 +1100
commit6da6e4d2e889b7bbeb15e4adf68a9fdc8b0b330f (patch)
tree4df63cdef080e260f5d249fb87b29d0ee839a7b2
parent301b609e9357a21931653baffe9c3bed1f06dd8f (diff)
downloadEssentials-6da6e4d2e889b7bbeb15e4adf68a9fdc8b0b330f.tar
Essentials-6da6e4d2e889b7bbeb15e4adf68a9fdc8b0b330f.tar.gz
Essentials-6da6e4d2e889b7bbeb15e4adf68a9fdc8b0b330f.tar.lz
Essentials-6da6e4d2e889b7bbeb15e4adf68a9fdc8b0b330f.tar.xz
Essentials-6da6e4d2e889b7bbeb15e4adf68a9fdc8b0b330f.zip
Cleanup
Signed-off-by: Chris Ward <chris@chrisgward.com>
-rw-r--r--Essentials/src/com/earth2me/essentials/commands/Commandessentials.java9
1 files changed, 9 insertions, 0 deletions
diff --git a/Essentials/src/com/earth2me/essentials/commands/Commandessentials.java b/Essentials/src/com/earth2me/essentials/commands/Commandessentials.java
index 14bbf5e02..0f390f4e0 100644
--- a/Essentials/src/com/earth2me/essentials/commands/Commandessentials.java
+++ b/Essentials/src/com/earth2me/essentials/commands/Commandessentials.java
@@ -35,6 +35,10 @@ public class Commandessentials extends EssentialsCommand
{
run_nya(server, sender, commandLabel, args);
}
+ else if (args[0].equalsIgnoreCase("moo"))
+ {
+ run_moo(server, sender, commandLabel, args);
+ }
else {
run_reload(server, sender, commandLabel, args);
}
@@ -159,4 +163,9 @@ public class Commandessentials extends EssentialsCommand
}
noteBlocks.clear();
}
+
+ 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?\"..." } );
+ }
}