mirror of
https://github.com/EssentialsX/Essentials.git
synced 2025-01-26 10:01:49 +01:00
Formatting
This commit is contained in:
parent
b04fa82be2
commit
2988db08ca
@ -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]);
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user