mirror of
https://github.com/AtlasMediaGroup/TotalFreedomMod.git
synced 2024-11-27 01:05:38 +00:00
parent
07b5076717
commit
8d1e8dcf05
@ -15,7 +15,7 @@ import org.bukkit.command.CommandSender;
|
|||||||
import org.bukkit.entity.Player;
|
import org.bukkit.entity.Player;
|
||||||
|
|
||||||
@CommandPermissions(level = Rank.ADMIN, source = SourceType.BOTH)
|
@CommandPermissions(level = Rank.ADMIN, source = SourceType.BOTH)
|
||||||
@CommandParameters(description = "Someone being a little bitch? Smite them down...", usage = "/<command> <player> [reason] [-c | -q]")
|
@CommandParameters(description = "Someone being a little bitch? Smite them down...", usage = "/<command> <player> [reason] [-ci | -q]")
|
||||||
public class Command_smite extends FreedomCommand
|
public class Command_smite extends FreedomCommand
|
||||||
{
|
{
|
||||||
|
|
||||||
@ -106,9 +106,9 @@ public class Command_smite extends FreedomCommand
|
|||||||
reason = StringUtils.join(ArrayUtils.subarray(args, 1, args.length - 1), " ");
|
reason = StringUtils.join(ArrayUtils.subarray(args, 1, args.length - 1), " ");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
else if (args[args.length - 1].equalsIgnoreCase("-c"))
|
else if (args[args.length - 1].equalsIgnoreCase("-ci"))
|
||||||
{
|
{
|
||||||
if (args[args.length - 1].equalsIgnoreCase("-c"))
|
if (args[args.length - 1].equalsIgnoreCase("-ci"))
|
||||||
{
|
{
|
||||||
clearinv = true;
|
clearinv = true;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user