diff options
author | Joseph <Joseph@Joseph-X> | 2013-01-09 10:17:26 -0600 |
---|---|---|
committer | Chris Ward <chris@chrisgward.com> | 2013-01-10 03:25:58 +1100 |
commit | 2988db08cabac2848c85dec26aa53dcb033b41fb (patch) | |
tree | 753c9f1d5203b91b17ddbde88f98603ff2be6c6e | |
parent | b04fa82be251608f829ff55e46d917b39a3fe7f3 (diff) | |
download | Essentials-2988db08cabac2848c85dec26aa53dcb033b41fb.tar Essentials-2988db08cabac2848c85dec26aa53dcb033b41fb.tar.gz Essentials-2988db08cabac2848c85dec26aa53dcb033b41fb.tar.lz Essentials-2988db08cabac2848c85dec26aa53dcb033b41fb.tar.xz Essentials-2988db08cabac2848c85dec26aa53dcb033b41fb.zip |
Formatting
-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]); } } |