[trunk] test the svn bot

git-svn-id: https://svn.java.net/svn/essentials~svn/trunk@1287 e251c2fe-e539-e718-e476-b85c1f46cddb
This commit is contained in:
ementalo 2011-04-28 00:32:47 +00:00
parent a267cef78a
commit db191e3115

View File

@ -33,11 +33,13 @@ public class Commandthunder extends EssentialsCommand
world.setThundering(setThunder ? true : false); world.setThundering(setThunder ? true : false);
world.setThunderDuration(Integer.parseInt(args[1]) * 20); world.setThunderDuration(Integer.parseInt(args[1]) * 20);
user.sendMessage("§7You " + (setThunder ? "enabled" : "disabled") + " thunder in your world for " + args[1] + " seconds"); user.sendMessage("§7You " + (setThunder ? "enabled" : "disabled") + " thunder in your world for " + args[1] + " seconds");
return;
} }
else else
{ {
world.setThundering(setThunder ? true : false); world.setThundering(setThunder ? true : false);
user.sendMessage("§7You " + (setThunder ? "enabled" : "disabled") + " thunder in your world"); user.sendMessage("§7You " + (setThunder ? "enabled" : "disabled") + " thunder in your world");
return;
} }
} }