mirror of
https://github.com/AtlasMediaGroup/TotalFreedomMod.git
synced 2025-07-02 04:56:40 +00:00
weSmart
sourcetype fixes; making sure in game commands work only in game
This commit is contained in:
@ -17,7 +17,7 @@ import org.bukkit.command.Command;
|
||||
import org.bukkit.command.CommandSender;
|
||||
import org.bukkit.entity.Player;
|
||||
|
||||
@CommandPermissions(level = Rank.SUPER_ADMIN, source = SourceType.BOTH, blockHostConsole = false)
|
||||
@CommandPermissions(level = Rank.SUPER_ADMIN, source = SourceType.BOTH)
|
||||
@CommandParameters(description = "Remove all blocks of a certain type in the radius of certain players.", usage = "/<command> <block> [radius (default=50)] [player]")
|
||||
public class Command_ro extends FreedomCommand
|
||||
{
|
||||
@ -58,7 +58,7 @@ public class Command_ro extends FreedomCommand
|
||||
}
|
||||
}
|
||||
|
||||
int radius = 20;
|
||||
int radius = 50;
|
||||
if (args.length >= 2)
|
||||
{
|
||||
try
|
||||
@ -179,4 +179,4 @@ public class Command_ro extends FreedomCommand
|
||||
|
||||
return affected;
|
||||
}
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user