mirror of
https://github.com/AtlasMediaGroup/TotalFreedomMod.git
synced 2025-07-04 21:36:41 +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:
@ -8,7 +8,7 @@ import org.bukkit.command.Command;
|
||||
import org.bukkit.command.CommandSender;
|
||||
import org.bukkit.entity.Player;
|
||||
|
||||
@CommandPermissions(level = Rank.TRIAL_MOD, source = SourceType.BOTH)
|
||||
@CommandPermissions(level = Rank.SUPER_ADMIN, source = SourceType.BOTH)
|
||||
@CommandParameters(description = "Unblocks commands for a player.", usage = "/<command> <player>", aliases = "unblockcommand,unblockcommands,ubcmds,unblockcmds,ubc")
|
||||
public class Command_unblockcmd extends FreedomCommand
|
||||
{
|
||||
@ -32,7 +32,7 @@ public class Command_unblockcmd extends FreedomCommand
|
||||
if (fPlayer.allCommandsBlocked())
|
||||
{
|
||||
fPlayer.setCommandsBlocked(false);
|
||||
FUtil.staffAction(sender.getName(), "Unblocking all commands for " + player.getName(), true);
|
||||
FUtil.adminAction(sender.getName(), "Unblocking all commands for " + player.getName(), true);
|
||||
msg("Unblocked commands for " + player.getName() + ".");
|
||||
}
|
||||
else
|
||||
|
Reference in New Issue
Block a user