mirror of
https://github.com/AtlasMediaGroup/TotalFreedomMod.git
synced 2025-06-29 11:46:40 +00:00
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:
@ -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);
|
||||
}
|
||||
}
|
||||
|
@ -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);
|
||||
}
|
||||
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user