Forces the server to recalculate the permissions server-wide in /opall

This commit is contained in:
Video 2021-11-29 03:27:07 -07:00
parent 706229004c
commit e1bee32163

View File

@ -24,6 +24,10 @@ public class Command_opall extends FreedomCommand
msg(player, YOU_ARE_OP); msg(player, YOU_ARE_OP);
plugin.rm.updateDisplay(player); plugin.rm.updateDisplay(player);
} }
else
{
player.recalculatePermissions();
}
} }
return true; return true;