Merge pull request #174 from AtlasMediaGroup/FS-256

Forces the server to recalculate the permissions server-wide in /opall (FS-256)
This commit is contained in:
Video 2021-11-29 06:31:11 -07:00 committed by GitHub
commit 35965b0b10
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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;