mirror of
https://github.com/AtlasMediaGroup/TotalFreedomMod.git
synced 2025-07-02 04:56:40 +00:00
Revert "Merge branch 'development' of https://github.com/TFPatches/TotalFreedomMod into development"
This reverts commit4407e9e6ec
, reversing changes made toe4c9ea656e
.
This commit is contained in:
@ -6,7 +6,7 @@ import org.bukkit.command.Command;
|
||||
import org.bukkit.command.CommandSender;
|
||||
import org.bukkit.entity.Player;
|
||||
|
||||
@CommandPermissions(level = Rank.ADMIN, source = SourceType.ONLY_CONSOLE, blockHostConsole = true)
|
||||
@CommandPermissions(level = Rank.SENIOR_ADMIN, source = SourceType.ONLY_CONSOLE, blockHostConsole = true)
|
||||
@CommandParameters(description = "Wipes all logged punishments or punishments for a specific user.", usage = "/<command> <username | -a>")
|
||||
public class Command_wipepunishments extends FreedomCommand
|
||||
{
|
||||
@ -22,7 +22,7 @@ public class Command_wipepunishments extends FreedomCommand
|
||||
|
||||
if (args[0].equalsIgnoreCase("-a"))
|
||||
{
|
||||
FUtil.staffAction(sender.getName(), "Wiping the punishment history", true);
|
||||
FUtil.adminAction(sender.getName(), "Wiping the punishment history", true);
|
||||
|
||||
msg("Wiped " + plugin.pul.clear() + " punishments.");
|
||||
}
|
||||
@ -30,7 +30,7 @@ public class Command_wipepunishments extends FreedomCommand
|
||||
{
|
||||
String username = args[0];
|
||||
|
||||
FUtil.staffAction(sender.getName(), "Wiping the punishment history for " + username, true);
|
||||
FUtil.adminAction(sender.getName(), "Wiping the punishment history for " + username, true);
|
||||
|
||||
msg("Wiped " + plugin.pul.clear(username) + " punishments for " + username + ".");
|
||||
}
|
||||
|
Reference in New Issue
Block a user