mirror of
https://github.com/AtlasMediaGroup/TotalFreedomMod.git
synced 2025-06-29 11:46:40 +00:00
Admins are now known as staff
To other developers: If you find places where staff are refered to as only admins pls fix it for me.
This commit is contained in:
@ -62,9 +62,9 @@ public class FreezeData
|
||||
@Override
|
||||
public void run()
|
||||
{
|
||||
if (!plugin().al.isAdminImpostor(player) && plugin().pl.isPlayerImpostor(player))
|
||||
if (!plugin().sl.isAdminImpostor(player) && plugin().pl.isPlayerImpostor(player))
|
||||
{
|
||||
FUtil.adminAction("TotalFreedom", "Unfreezing " + player.getName(), false);
|
||||
FUtil.staffAction("TotalFreedom", "Unfreezing " + player.getName(), false);
|
||||
setFrozen(false);
|
||||
}
|
||||
}
|
||||
|
@ -46,7 +46,7 @@ public class Freezer extends FreedomService
|
||||
{
|
||||
final Player player = event.getPlayer();
|
||||
|
||||
if (plugin.al.isAdmin(player))
|
||||
if (plugin.sl.isStaff(player))
|
||||
{
|
||||
return;
|
||||
}
|
||||
|
Reference in New Issue
Block a user