mirror of
https://github.com/TotalFreedomMC/TF-Marriage.git
synced 2025-07-10 15:54:22 +00:00
refactor
This commit is contained in:
parent
24b43d47d3
commit
e55633d0a2
48 changed files with 299 additions and 306 deletions
|
@ -22,8 +22,7 @@ public class CommandReload extends Command {
|
|||
|
||||
@Override
|
||||
public void execute() {
|
||||
if (!marriage.getTFM().isStaff(player))
|
||||
{
|
||||
if (!marriage.getTFM().isAdmin(player)) {
|
||||
sender.sendMessage(ChatColor.RED + "You are not permitted to use this command.");
|
||||
return;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue