Revert "Merge branch 'development' of https://github.com/TFPatches/TotalFreedomMod into development"

This reverts commit 4407e9e6ec, reversing
changes made to e4c9ea656e.
This commit is contained in:
2020-08-15 17:41:23 -05:00
parent 4407e9e6ec
commit da80f1b69e
186 changed files with 1828 additions and 1275 deletions

View File

@ -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 + ".");
}