mirror of
https://github.com/TotalFreedomMC/TotalFreedomMod.git
synced 2025-06-17 13:35:47 +00:00
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:
commit
35965b0b10
1 changed files with 4 additions and 0 deletions
|
@ -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;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue