From e1bee32163aa015d6d61b9d6a019a261c6602731 Mon Sep 17 00:00:00 2001 From: Video Date: Mon, 29 Nov 2021 03:27:07 -0700 Subject: [PATCH] Forces the server to recalculate the permissions server-wide in /opall --- .../totalfreedom/totalfreedommod/command/Command_opall.java | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/main/java/me/totalfreedom/totalfreedommod/command/Command_opall.java b/src/main/java/me/totalfreedom/totalfreedommod/command/Command_opall.java index a02671cc..45ff1689 100644 --- a/src/main/java/me/totalfreedom/totalfreedommod/command/Command_opall.java +++ b/src/main/java/me/totalfreedom/totalfreedommod/command/Command_opall.java @@ -24,6 +24,10 @@ public class Command_opall extends FreedomCommand msg(player, YOU_ARE_OP); plugin.rm.updateDisplay(player); } + else + { + player.recalculatePermissions(); + } } return true;