mirror of
https://github.com/TotalFreedomMC/TotalFreedomMod.git
synced 2025-06-17 13:35:47 +00:00
Forces the server to recalculate the permissions server-wide in /opall
This commit is contained in:
parent
706229004c
commit
e1bee32163
1 changed files with 4 additions and 0 deletions
|
@ -24,6 +24,10 @@ public class Command_opall extends FreedomCommand
|
|||
msg(player, YOU_ARE_OP);
|
||||
plugin.rm.updateDisplay(player);
|
||||
}
|
||||
else
|
||||
{
|
||||
player.recalculatePermissions();
|
||||
}
|
||||
}
|
||||
|
||||
return true;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue