staff -> admins

* rename everything containing staff back to admin (as requested by ryan i've renamed commands like slconfig to saconfig but left "slconfig" as an alias)
* format almost every file correctly
* a few other improvements
This commit is contained in:
speed
2020-12-03 19:28:53 -05:00
parent aae1f524ea
commit 293ea04c56
205 changed files with 1667 additions and 1696 deletions

View File

@ -62,9 +62,9 @@ public class FreezeData
@Override
public void run()
{
if (!plugin().sl.isStaffImpostor(player) && plugin().pl.isPlayerImpostor(player))
if (!plugin().al.isAdminImpostor(player) && plugin().pl.isPlayerImpostor(player))
{
FUtil.staffAction("TotalFreedom", "Unfreezing " + player.getName(), false);
FUtil.adminAction("TotalFreedom", "Unfreezing " + player.getName(), false);
setFrozen(false);
}
}

View File

@ -46,7 +46,7 @@ public class Freezer extends FreedomService
{
final Player player = event.getPlayer();
if (plugin.sl.isStaff(player))
if (plugin.al.isAdmin(player))
{
return;
}
@ -67,5 +67,4 @@ public class Freezer extends FreedomService
event.setTo(loc);
}
}
}