mirror of
https://github.com/TotalFreedomMC/TotalFreedomMod.git
synced 2025-07-27 07:51:35 +00:00
Merge branch 'development' into FS-239-to-FS-242
This commit is contained in:
commit
a6ca6b122c
1 changed files with 2 additions and 2 deletions
|
@ -23,12 +23,12 @@ public class Command_freeze extends FreedomCommand
|
|||
|
||||
if (!gFreeze)
|
||||
{
|
||||
FUtil.adminAction(sender.getName(), "Disabling global player freeze", false);
|
||||
FUtil.adminAction(sender.getName(), "Unfreezing all players", false);
|
||||
msg("Players are now free to move.");
|
||||
return true;
|
||||
}
|
||||
|
||||
FUtil.adminAction(sender.getName(), "Enabling global player freeze", false);
|
||||
FUtil.adminAction(sender.getName(), "Freezing all players", false);
|
||||
for (Player player : server.getOnlinePlayers())
|
||||
{
|
||||
if (!isAdmin(player))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue