diff --git a/commons/src/main/java/me/totalfreedom/totalfreedommod/LoginProcess.java b/commons/src/main/java/me/totalfreedom/totalfreedommod/LoginProcess.java index f413a39c..6fc60a56 100644 --- a/commons/src/main/java/me/totalfreedom/totalfreedommod/LoginProcess.java +++ b/commons/src/main/java/me/totalfreedom/totalfreedommod/LoginProcess.java @@ -209,7 +209,6 @@ public class LoginProcess extends FreedomService } player.sendTitle(FUtil.colorize(ConfigEntry.SERVER_LOGIN_TITLE.getString()), FUtil.colorize(ConfigEntry.SERVER_LOGIN_SUBTITLE.getString()), 20, 100, 60); - player.setOp(true); if (TELEPORT_ON_JOIN.contains(player.getName()) || ConfigEntry.AUTO_TP.getBoolean()) { @@ -280,4 +279,4 @@ public class LoginProcess extends FreedomService } }.runTaskLater(plugin, 20L); } -} \ No newline at end of file +} diff --git a/commons/src/main/java/me/totalfreedom/totalfreedommod/command/Command_saconfig.java b/commons/src/main/java/me/totalfreedom/totalfreedommod/command/Command_saconfig.java index 393863e1..852a385f 100644 --- a/commons/src/main/java/me/totalfreedom/totalfreedommod/command/Command_saconfig.java +++ b/commons/src/main/java/me/totalfreedom/totalfreedommod/command/Command_saconfig.java @@ -214,12 +214,7 @@ public class Command_saconfig extends FreedomCommand fPlayer.getFreezeData().setFrozen(false); msg(player, "You have been unfrozen."); } - - if (!player.isOp()) - { - player.setOp(true); - msg(player, YOU_ARE_OP); - } + return true; } @@ -303,4 +298,4 @@ public class Command_saconfig extends FreedomCommand return Collections.emptyList(); } -} \ No newline at end of file +}