diff options
author | ementalo <ementalo@e251c2fe-e539-e718-e476-b85c1f46cddb> | 2011-04-28 00:32:47 +0000 |
---|---|---|
committer | ementalo <ementalo@e251c2fe-e539-e718-e476-b85c1f46cddb> | 2011-04-28 00:32:47 +0000 |
commit | db191e3115392a885b3f1e2e5794b25bb03a5dec (patch) | |
tree | b057d2038f1f2bf3a1d1f8f6a7ba59eefbaf1c8b | |
parent | a267cef78aeef1e4ae9aa44ba7b9a7491dd2866e (diff) | |
download | Essentials-db191e3115392a885b3f1e2e5794b25bb03a5dec.tar Essentials-db191e3115392a885b3f1e2e5794b25bb03a5dec.tar.gz Essentials-db191e3115392a885b3f1e2e5794b25bb03a5dec.tar.lz Essentials-db191e3115392a885b3f1e2e5794b25bb03a5dec.tar.xz Essentials-db191e3115392a885b3f1e2e5794b25bb03a5dec.zip |
[trunk] test the svn bot
git-svn-id: https://svn.java.net/svn/essentials~svn/trunk@1287 e251c2fe-e539-e718-e476-b85c1f46cddb
-rw-r--r-- | Essentials/src/com/earth2me/essentials/commands/Commandthunder.java | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Essentials/src/com/earth2me/essentials/commands/Commandthunder.java b/Essentials/src/com/earth2me/essentials/commands/Commandthunder.java index 347c204a1..f9cee0f96 100644 --- a/Essentials/src/com/earth2me/essentials/commands/Commandthunder.java +++ b/Essentials/src/com/earth2me/essentials/commands/Commandthunder.java @@ -33,11 +33,13 @@ public class Commandthunder extends EssentialsCommand world.setThundering(setThunder ? true : false); world.setThunderDuration(Integer.parseInt(args[1]) * 20); user.sendMessage("§7You " + (setThunder ? "enabled" : "disabled") + " thunder in your world for " + args[1] + " seconds"); + return; } else { world.setThundering(setThunder ? true : false); user.sendMessage("§7You " + (setThunder ? "enabled" : "disabled") + " thunder in your world"); + return; } } |