diff options
-rw-r--r-- | Essentials/src/com/earth2me/essentials/commands/Commandspawner.java | 8 |
1 files 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]); } } |