diff --git a/src/main/java/me/totalfreedom/totalfreedommod/command/Command_deop.java b/src/main/java/me/totalfreedom/totalfreedommod/command/Command_deop.java index 73e18112..b9ec6b62 100644 --- a/src/main/java/me/totalfreedom/totalfreedommod/command/Command_deop.java +++ b/src/main/java/me/totalfreedom/totalfreedommod/command/Command_deop.java @@ -40,6 +40,7 @@ public class Command_deop extends FreedomCommand matchedPlayerNames.add(player.getName()); player.setOp(false); player.sendMessage(FreedomCommand.YOU_ARE_NOT_OP); + plugin.rm.updateDisplay(player); } } } diff --git a/src/main/java/me/totalfreedom/totalfreedommod/command/Command_deopall.java b/src/main/java/me/totalfreedom/totalfreedommod/command/Command_deopall.java index c73e088a..4a8ec1f8 100644 --- a/src/main/java/me/totalfreedom/totalfreedommod/command/Command_deopall.java +++ b/src/main/java/me/totalfreedom/totalfreedommod/command/Command_deopall.java @@ -20,6 +20,7 @@ public class Command_deopall extends FreedomCommand { player.setOp(false); player.sendMessage(FreedomCommand.YOU_ARE_NOT_OP); + plugin.rm.updateDisplay(player); } return true; diff --git a/src/main/java/me/totalfreedom/totalfreedommod/permissions/PermissionManager.java b/src/main/java/me/totalfreedom/totalfreedommod/permissions/PermissionManager.java index a3f23fb8..31a32655 100644 --- a/src/main/java/me/totalfreedom/totalfreedommod/permissions/PermissionManager.java +++ b/src/main/java/me/totalfreedom/totalfreedommod/permissions/PermissionManager.java @@ -117,10 +117,4 @@ public class PermissionManager extends FreedomService setPermissions(player); } } - - @EventHandler(priority = EventPriority.NORMAL) - public void onPlayerJoin(PlayerJoinEvent event) - { - setPermissions(event.getPlayer()); - } } \ No newline at end of file