{
OutputHandler.chatError(player, "Invalid selection detected. Please check your selection.");
return;
}
int radius = -1;
Point effectPosition = null;
try
{
radius = Integer.parseInt(args[0]);
}
catch (Exception e)
{
error(player);
radius = -1;
}
if (args.length == 1)
{
effectPosition = new Point((int) player.posX - 1, (int) player.posY, (int) player.posZ);
}
else
{
int x;
int z;
try
{
x = Integer.parseInt(args[1]);
z = Integer.parseInt(args[2]);
effectPosition = new Point(x, 0, z);
}
catch (Exception e)
{
error(player);
}