From 1908054d099178ae5bf2da8b1c99b4fe35711224 Mon Sep 17 00:00:00 2001 From: Joseph Date: Wed, 9 Jan 2013 10:17:26 -0600 Subject: [PATCH] Formatting --- .../com/earth2me/essentials/commands/Commandspawner.java | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Essentials/src/com/earth2me/essentials/commands/Commandspawner.java b/Essentials/src/com/earth2me/essentials/commands/Commandspawner.java index 035adabae..a01f42f01 100644 --- a/Essentials/src/com/earth2me/essentials/commands/Commandspawner.java +++ b/Essentials/src/com/earth2me/essentials/commands/Commandspawner.java @@ -6,7 +6,6 @@ import com.earth2me.essentials.Trade; import com.earth2me.essentials.User; import com.earth2me.essentials.Util; import java.util.Locale; -import org.bukkit.Bukkit; import org.bukkit.Location; import org.bukkit.Material; import org.bukkit.Server; @@ -35,7 +34,7 @@ public class Commandspawner extends EssentialsCommand } String name = args[0]; - Integer delay = 0; + int delay = 0; Mob mob = null; mob = Mob.fromName(name); @@ -51,9 +50,10 @@ public class Commandspawner extends EssentialsCommand { throw new Exception(_("noPermToSpawnMob")); } - if(args.length > 1) + if (args.length > 1) { - if(Util.isInt(args[1])){ + if (Util.isInt(args[1])) + { delay = Integer.parseInt(args[1]); } }